apache/struts · Security
Unrestricted Upload of File with Dangerous Type in Apache Struts2
- GHSA ID
- GHSA-8m5q-crqq-6pmf
- CVE ID
- CVE-2012-1592
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files. A patch exists as of version 2.5.22.
CWEs
- CWE-434 · Unrestricted Upload of File with Dangerous Type
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-1592 ↗
- https://access.redhat.com/security/cve/cve-2012-1592 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592 ↗
- https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2@%3Cissues.struts.apache.org%3E ↗
- https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc@%3Cissues.struts.apache.org%3E ↗
- https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b@%3Cissues.struts.apache.org%3E ↗
- https://security-tracker.debian.org/tracker/CVE-2012-1592 ↗
- https://github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml#L39-L76 ↗
- https://issues.apache.org/jira/browse/WW-5055 ↗
- https://seclists.org/bugtraq/2012/Mar/110 ↗
- https://struts.apache.org/security/#internal-security-mechanism ↗
- https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2%40%3Cissues.struts.apache.org%3E ↗
- https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc%40%3Cissues.struts.apache.org%3E ↗
- https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b%40%3Cissues.struts.apache.org%3E ↗
- https://www.openwall.com/lists/oss-security/2012/03/28/12 ↗
- https://github.com/advisories/GHSA-8m5q-crqq-6pmf ↗