原始 OSV JSON{
"id": "GHSA-2jhm-qp48-hv5j",
"aliases": [
"CVE-2022-23621"
],
"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:[email protected] )",
"summary": "Missing authorization in xwiki-platform",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "13.6-rc-1"
},
{
"fixed": "13.7-rc-1"
}
]
}
],
"package": {
"name": "org.xwiki.platform:xwiki-platform-oldcore",
"ecosystem": "Maven"
},
"database_specific": {
"last_known_affected_version_range": "<= 13.6"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.4.3"
}
]
}
],
"package": {
"name": "org.xwiki.platform:xwiki-platform-oldcore",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "12.10.9"
}
]
}
],
"package": {
"name": "org.xwiki.platform:xwiki-platform-oldcore",
"ecosystem": "Maven"
}
}
],
"modified": "2022-02-09T21:56:05Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
}
],
"published": "2022-02-09T21:56:05Z",
"references": [
{
"url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23621",
"type": "ADVISORY"
},
{
"url": "https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a",
"type": "WEB"
},
{
"url": "https://github.com/xwiki/xwiki-platform",
"type": "PACKAGE"
},
{
"url": "https://jira.xwiki.org/browse/XWIKI-18870",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-552",
"CWE-862"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2022-02-09T22:15:00Z",
"github_reviewed_at": "2022-02-09T21:56:05Z"
}
}