ghsa-2jhm-qp48-hv5j
Vulnerability from github
Published
2022-02-09 21:56
Modified
2022-02-09 21:56
Severity ?
Summary
Missing authorization in xwiki-platform
Details
Impact
Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:
$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")
Patches
It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.
Workarounds
The only workaround is to give SCRIPT right only to trusted users.
References
https://jira.xwiki.org/browse/XWIKI-18870
For more information
If you have any questions or comments about this advisory: * Open an issue in Jira XWiki * Email us at our security mailing list
{ affected: [ { database_specific: { last_known_affected_version_range: "<= 13.6", }, package: { ecosystem: "Maven", name: "org.xwiki.platform:xwiki-platform-oldcore", }, ranges: [ { events: [ { introduced: "13.6-rc-1", }, { fixed: "13.7-rc-1", }, ], type: "ECOSYSTEM", }, ], }, { package: { ecosystem: "Maven", name: "org.xwiki.platform:xwiki-platform-oldcore", }, ranges: [ { events: [ { introduced: "13.0.0", }, { fixed: "13.4.3", }, ], type: "ECOSYSTEM", }, ], }, { package: { ecosystem: "Maven", name: "org.xwiki.platform:xwiki-platform-oldcore", }, ranges: [ { events: [ { introduced: "0", }, { fixed: "12.10.9", }, ], type: "ECOSYSTEM", }, ], }, ], aliases: [ "CVE-2022-23621", ], database_specific: { cwe_ids: [ "CWE-552", "CWE-862", ], github_reviewed: true, github_reviewed_at: "2022-02-09T21:56:05Z", nvd_published_at: "2022-02-09T22:15:00Z", severity: "MODERATE", }, details: "### Impact\n\nAny user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:\n\n```\n$xwiki.invokeServletAndReturnAsString(\"/WEB-INF/xwiki.cfg\")\n```\n\n### Patches\n\nIt has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.\n\n### Workarounds\n\nThe only workaround is to give SCRIPT right only to trusted users.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-18870\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki](https://jira.xwiki.org)\n* Email us at [our security mailing list](mailto:security@xwiki.org)", id: "GHSA-2jhm-qp48-hv5j", modified: "2022-02-09T21:56:05Z", published: "2022-02-09T21:56:05Z", references: [ { type: "WEB", url: "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j", }, { type: "ADVISORY", url: "https://nvd.nist.gov/vuln/detail/CVE-2022-23621", }, { type: "WEB", url: "https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a", }, { type: "PACKAGE", url: "https://github.com/xwiki/xwiki-platform", }, { type: "WEB", url: "https://jira.xwiki.org/browse/XWIKI-18870", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H", type: "CVSS_V3", }, ], summary: "Missing authorization in xwiki-platform", }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.