Lucene search

K
osvGoogleOSV:GHSA-79RG-7MV3-JRR5
HistoryMar 23, 2021 - 10:48 p.m.

Rating Script Service expose XWiki to SQL injection

2021-03-2322:48:01
Google
osv.dev
7

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

36.0%

Impact

This issue impacts only XWiki with the Ratings API installed.
The Rating Script Service expose an API to perform SQL requests without escaping the from and where search arguments.
This might lead to an SQL script injection quite easily for any user having Script rights on XWiki.

Patches

The problem has been patched in XWiki 12.9RC1.

Workarounds

The only workaround besides upgrading XWiki would be to uninstall the Ratings API in XWiki from the Extension Manager.

References

https://jira.xwiki.org/browse/XWIKI-17662

For more information

If you have any questions or comments about this advisory:

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

6.5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

36.0%

Related for OSV:GHSA-79RG-7MV3-JRR5