{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46271?format=json","vulnerability_id":"VCID-avxg-4wm8-r7as","summary":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nXWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-macro-footnotes` and prior to version 15.1-rc-1 of `org.xwiki.platform:xwiki-rendering-macro-footnotes`, the footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. There is no workaround apart from upgrading to a fixed version of the footnote macro.","aliases":[{"alias":"CVE-2023-37912"},{"alias":"GHSA-35j5-m29r-xfq5"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67483?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-core-rendering-macro-footnotes@14.10.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-core-rendering-macro-footnotes@14.10.6"},{"url":"http://public2.vulnerablecode.io/api/packages/67486?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@14.10.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@14.10.6"},{"url":"http://public2.vulnerablecode.io/api/packages/67487?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@15.1-rc-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@15.1-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/67501?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@14.10.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@14.10.6"},{"url":"http://public2.vulnerablecode.io/api/packages/67502?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@15.1-rc-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@15.1-rc-1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67485?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@15.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-avxg-4wm8-r7as"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-macro-footnotes@15.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/67500?format=json","purl":"pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@15.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-avxg-4wm8-r7as"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.rendering/xwiki-rendering-xml@15.0"}],"references":[{"reference_url":"https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116e","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116e"},{"reference_url":"https://jira.xwiki.org/browse/XRENDERING-688","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XRENDERING-688"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37912","reference_id":"CVE-2023-37912","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37912"},{"reference_url":"https://github.com/advisories/GHSA-35j5-m29r-xfq5","reference_id":"GHSA-35j5-m29r-xfq5","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-35j5-m29r-xfq5"},{"reference_url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5","reference_id":"GHSA-35j5-m29r-xfq5","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5"}],"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":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."},{"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-avxg-4wm8-r7as"}