Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/45600?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45600?format=api", "vulnerability_id": "VCID-7jsf-8yfm-x7cx", "summary": "Cross-Site Request Forgery (CSRF)\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The REST API allows executing all actions via POST requests and accepts `text/plain`, `multipart/form-data` or `application/www-form-urlencoded` as content types which can be sent via regular HTML forms, thus allowing cross-site request forgery. With the interaction of a user with programming rights, this allows remote code execution through script macros and thus impacts the integrity, availability and confidentiality of the whole XWiki installation. For regular cookie-based authentication, the vulnerability is mitigated by SameSite cookie restrictions but as of March 2023, these are not enabled by default in Firefox and Safari. The vulnerability has been patched in XWiki 14.10.8 and 15.2 by requiring a CSRF token header for certain request types that are susceptible to CSRF attacks.", "aliases": [ { "alias": "CVE-2023-37277" }, { "alias": "GHSA-6xxr-648m-gch6" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65969?format=api", "purl": "pkg:maven/com.xpn.xwiki.platform/xwiki-core-rest-server@14.10.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xpn.xwiki.platform/xwiki-core-rest-server@14.10.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65971?format=api", "purl": "pkg:maven/com.xpn.xwiki.platform/xwiki-rest@14.10.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xpn.xwiki.platform/xwiki-rest@14.10.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65987?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@14.10.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@14.10.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65988?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65968?format=api", "purl": "pkg:maven/com.xpn.xwiki.platform/xwiki-core-rest-server@1.8", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7jsf-8yfm-x7cx" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xpn.xwiki.platform/xwiki-core-rest-server@1.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65970?format=api", "purl": "pkg:maven/com.xpn.xwiki.platform/xwiki-rest@1.8", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7jsf-8yfm-x7cx" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xpn.xwiki.platform/xwiki-rest@1.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65986?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@1.8", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7jsf-8yfm-x7cx" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@1.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/65609?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.0-rc-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7jsf-8yfm-x7cx" }, { "vulnerability": "VCID-dxfr-k1tg-83fj" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.0-rc-1" } ], "references": [ { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7" }, { "reference_url": "https://jira.xwiki.org/browse/XWIKI-20135", "reference_id": "", "reference_type": "", "scores": [], "url": "https://jira.xwiki.org/browse/XWIKI-20135" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-37277", "reference_id": "CVE-2023-37277", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-37277" }, { "reference_url": "https://github.com/advisories/GHSA-6xxr-648m-gch6", "reference_id": "GHSA-6xxr-648m-gch6", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-6xxr-648m-gch6" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6", "reference_id": "GHSA-6xxr-648m-gch6", "reference_type": "", "scores": [], "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6" } ], "weaknesses": [ { "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." }, { "cwe_id": 352, "name": "Cross-Site Request Forgery (CSRF)", "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request." }, { "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." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7jsf-8yfm-x7cx" }