{"schemaVersion":3,"id":"CVE-2012-1592","aliases":["GHSA-8m5q-crqq-6pmf"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-12-05T20:57:22.000Z","modified":"2024-08-06T19:01:02.750Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.2855,"percentile":0.98121,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.2855},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.2855,"percentile":0.98121}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.2855,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.2855,"percentile":0.98121}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"37009","name":"Apache Struts 2.0 - 'XSLTResult.java' Arbitrary File Upload","source":"exploit-database","url":"https://www.exploit-db.com/exploits/37009","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["java"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"java","file":"exploits/java/webapps/37009.xml","codes":["CVE-2012-1592","OSVDB-80547"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.html"}],"affected":[{"vendor":"apache","product":"struts","name":"struts","label":"struts","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.0","eol":{"isEol":true,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"2.0","label":"2.0","eolFrom":null,"isLts":false,"isMaintained":true,"latestVersion":"2.0.14"},"product":{"name":"apache-struts","label":"Apache Struts","category":"framework"}},"hubHref":"/vendor/apache/struts"},{"vendor":"libstruts1.2-java","product":"libstruts1.2-java","name":"libstruts1.2-java","label":"libstruts1.2-java","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.2-","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.2-","eol":null,"hubHref":"/vendor/libstruts12-java/libstruts12-java"},{"vendor":"org.apache.struts","product":"struts2-core","name":"org.apache.struts:struts2-core","label":"struts2-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.struts/struts2-core","purlType":"maven","versions":[{"text":"≥ 2.0, < 2.5.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0, < 2.5.22","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1592","label":"security-tracker.debian.org/tracker/CVE-2012-1592","hostname":"security-tracker.debian.org","tags":["X Refsource MISC","Third Party Advisory","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","WEB"]},{"url":"https://access.redhat.com/security/cve/cve-2012-1592","label":"access.redhat.com/security/cve/cve-2012-1592","hostname":"access.redhat.com","tags":["X Refsource MISC","Third Party Advisory","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/28/12","label":"www.openwall.com/lists/oss-security/2012/03/28/12","hostname":"www.openwall.com","tags":["X Refsource MISC","Mailing List","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2%40%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b%40%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc%40%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1592","label":"nvd.nist.gov/vuln/detail/CVE-2012-1592","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/struts","label":"github.com/apache/struts","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml#L39-L76","label":"github.com/apache/struts/blob/master/core/src/main/resources/struts-default.xml","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/WW-5055","label":"issues.apache.org/jira/browse/WW-5055","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r348ed455a140273c40b974f0615dee692f7c9b26c6de2118b4280ef2@%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r593ebb2f4c95b064e6901fd273eff256c493db952bdb484395948ffc@%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r93c4e3f6cb138cd117c739714f07e47af547183ba099ba46be2b2a5b@%3Cissues.struts.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://seclists.org/bugtraq/2012/Mar/110","label":"seclists.org/bugtraq/2012/Mar/110","hostname":"seclists.org","tags":["WEB"]},{"url":"https://struts.apache.org/security/#internal-security-mechanism","label":"struts.apache.org/security/","hostname":"struts.apache.org","tags":["WEB"]},{"url":"https://www.openwall.com/lists/oss-security/2012/03/28/12","label":"www.openwall.com/lists/oss-security/2012/03/28/12","hostname":"www.openwall.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-12-05T20:57:22.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T19:01:02.750Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":51,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:07:22.482Z","stale":false,"partial":false}}