Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/47442?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47442?format=api", "vulnerability_id": "VCID-xevu-xntb-vufs", "summary": "XWiki Platform: Privilege escalation (PR) from user registration through PDFClass\nRemote code execution is possible via PDF export templates.\nTo reproduce on an installation, register a new user account with username `PDFClass` if `XWiki.PDFClass` does not exist.\nOn `XWiki.PDFClass`, use the class editor to add a \"style\" property of type \"TextArea\" and content type \"Plain Text\".\nThen, add an object of class `PDFClass` and set the \"style\" attribute to `$services.logging.getLogger('PDFClass').error(\"I got programming: $services.security.authorization.hasAccess('programming')\")`.\nFinally, go to `<host>/xwiki/bin/export/Main/WebHome?format=pdf&pdftemplate=XWiki.PDFClass`. If the logs contain \"ERROR PDFClass - I got programming: true\", the instance is vulnerable.", "aliases": [ { "alias": "CVE-2024-31981" }, { "alias": "GHSA-vxwr-wpjv-qjq7" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/69711?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.20", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.20" }, { "url": "http://public2.vulnerablecode.io/api/packages/69695?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/69712?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10-rc-1" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/69710?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-xevu-xntb-vufs" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/65815?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1x2u-ggpt-q7br" }, { "vulnerability": "VCID-3gjp-eske-eqgk" }, { "vulnerability": "VCID-9649-wpan-ykaq" }, { "vulnerability": "VCID-by7h-2wyg-jqfy" }, { "vulnerability": "VCID-rmg4-3gqx-duc6" }, { "vulnerability": "VCID-rpvk-g9y1-yucv" }, { "vulnerability": "VCID-xevu-xntb-vufs" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/69693?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9649-wpan-ykaq" }, { "vulnerability": "VCID-rpvk-g9y1-yucv" }, { "vulnerability": "VCID-xevu-xntb-vufs" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1" } ], "references": [ { "reference_url": "https://github.com/xwiki/xwiki-platform", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/480186f9d2fca880513da8bc5a609674d106cbd3", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform/commit/480186f9d2fca880513da8bc5a609674d106cbd3" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/a4ad14d9c1605a5ab957237e505ebbb29f5b9d73", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform/commit/a4ad14d9c1605a5ab957237e505ebbb29f5b9d73" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/d28e21a670c69880b951e415dd2ddd69d273eae9", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform/commit/d28e21a670c69880b951e415dd2ddd69d273eae9" }, { "reference_url": "https://jira.xwiki.org/browse/XWIKI-21337", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://jira.xwiki.org/browse/XWIKI-21337" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31981", "reference_id": "CVE-2024-31981", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31981" }, { "reference_url": "https://github.com/advisories/GHSA-vxwr-wpjv-qjq7", "reference_id": "GHSA-vxwr-wpjv-qjq7", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-vxwr-wpjv-qjq7" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxwr-wpjv-qjq7", "reference_id": "GHSA-vxwr-wpjv-qjq7", "reference_type": "", "scores": [ { "value": "9.9", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxwr-wpjv-qjq7" } ], "weaknesses": [ { "cwe_id": 862, "name": "Missing Authorization", "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": "9.0 - 10.0", "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xevu-xntb-vufs" }