{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42931?format=json","vulnerability_id":"VCID-ga87-9weh-sfeg","summary":"Unrestricted Upload of File with Dangerous Type\nCertain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a `/fileupload` endpoint with a `Content-Disposition` directory traversal sequence to reach a directory under the web root, such as a `../../../../repository/deployment/server/webapps` directory. This affects WSO2 API Manager 2.2.0 and above through 4.0.0; WSO2 Identity Server 5.2.0 and above through 5.11.0; WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0, and 5.6.0; WSO2 Identity Server as Key Manager 5.3.0 and above through 5.10.0; and WSO2 Enterprise Integrator 6.2.0 and above through 6.6.0.","aliases":[{"alias":"CVE-2022-29464"}],"fixed_packages":[],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/61413?format=json","purl":"pkg:maven/org.wso2.identity/identity-server-parent@5.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ga87-9weh-sfeg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.identity/identity-server-parent@5.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/61414?format=json","purl":"pkg:maven/org.wso2.identity/identity-server-parent@5.4.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ga87-9weh-sfeg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.identity/identity-server-parent@5.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/61415?format=json","purl":"pkg:maven/org.wso2.identity/identity-server-parent@5.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-cs6r-dpvb-r7bw"},{"vulnerability":"VCID-ga87-9weh-sfeg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.identity/identity-server-parent@5.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/61416?format=json","purl":"pkg:maven/org.wso2.identity/identity-server-parent@5.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-cs6r-dpvb-r7bw"},{"vulnerability":"VCID-ga87-9weh-sfeg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.identity/identity-server-parent@5.6.0"}],"references":[{"reference_url":"https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1738","reference_id":"","reference_type":"","scores":[],"url":"https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1738"},{"reference_url":"http://www.openwall.com/lists/oss-security/2022/04/22/7","reference_id":"","reference_type":"","scores":[],"url":"http://www.openwall.com/lists/oss-security/2022/04/22/7"},{"reference_url":"https://github.com/hakivvi/CVE-2022-29464","reference_id":"CVE-2022-29464","reference_type":"","scores":[],"url":"https://github.com/hakivvi/CVE-2022-29464"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29464","reference_id":"CVE-2022-29464","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29464"}],"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":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"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-ga87-9weh-sfeg"}