CVE-2012-0057
What it is
PHP before 5.3.9 has improper libxslt security settings, which allows remote attackers to create arbitrary files via a crafted XSLT stylesheet that uses the libxslt output extension.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.0% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.0% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- PHP ≤ 5.3.8
- PHP 5.0.0
- PHP 5.0.1
- PHP 5.0.2
- PHP 5.0.3
- PHP 5.0.4
- PHP 5.0.5
- PHP 5.1.0
Attack profile CVSS 2.0 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0057.md and follow it. Check whether this project is affected by CVE-2012-0057. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
- http://openwall.com/lists/oss-security/2012/01/13/10
- http://openwall.com/lists/oss-security/2012/01/13/4
- http://openwall.com/lists/oss-security/2012/01/13/5
- http://openwall.com/lists/oss-security/2012/01/13/6
- http://openwall.com/lists/oss-security/2012/01/13/7
- http://openwall.com/lists/oss-security/2012/01/14/1
- http://openwall.com/lists/oss-security/2012/01/14/2
- http://openwall.com/lists/oss-security/2012/01/14/3
- http://openwall.com/lists/oss-security/2012/01/15/1
- http://openwall.com/lists/oss-security/2012/01/15/10
- http://openwall.com/lists/oss-security/2012/01/15/2
- http://openwall.com/lists/oss-security/2012/01/18/3
- http://php.net/ChangeLog-5.php#5.3.9
- http://secunia.com/advisories/48668
- http://www.debian.org/security/2012/dsa-2399
- https://bugs.php.net/bug.php?id=54446
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72908
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html