GHSA-3738-p9x3-mv9r

Suggest an improvement
Source
https://github.com/advisories/GHSA-3738-p9x3-mv9r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-3738-p9x3-mv9r/GHSA-3738-p9x3-mv9r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3738-p9x3-mv9r
Aliases
Published
2023-03-03T22:48:40Z
Modified
2023-11-08T04:12:01.533807Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
XWiki Platform vulnerable to privilege escalation via properties with wiki syntax that are executed with wrong author
Details

Impact

It's possible to use the right of an existing document content author to execute a text area property.

To reproduce:

  • As an admin with programming rights, create a new user without script or programming right.
  • Login with the freshly created user.
  • Insert the following text in source mode in the about section:
        {{groovy}}println("hello from groovy!"){{/groovy}}
    
  • Click "Save & View"

Patches

This has been patched in XWiki 14.10, 14.4.7, and 13.10.11.

Workarounds

No known workaround.

References

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

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "nvd_published_at": "2023-03-02T19:15:00Z",
    "github_reviewed_at": "2023-03-03T22:48:40Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-284"
    ]
}
References

Affected packages

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.10
Fixed
13.10.11

Maven / org.xwiki.platform:xwiki-platform-legacy-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-legacy-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13.10
Fixed
13.10.11

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.0
Fixed
14.4.7

Maven / org.xwiki.platform:xwiki-platform-legacy-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-legacy-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.0
Fixed
14.4.7

Maven / org.xwiki.platform:xwiki-platform-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.5
Fixed
14.10

Maven / org.xwiki.platform:xwiki-platform-legacy-oldcore

Package

Name
org.xwiki.platform:xwiki-platform-legacy-oldcore
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14.5
Fixed
14.10