CVE-2012-0057 json
PHP before 5.3.9 has improper libxslt security settings, which allows remote attackers to create arbitrary files via a crafted XSLT stylesh…
published 2012-02-02 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0095
- cvss
- 6.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php53 RHEL 5 5.3.3-13.el5_8
- php53-gd RHEL 5 5.3.3-13.el5_8
- php53-cli RHEL 5 5.3.3-13.el5_8
- php53-dba RHEL 5 5.3.3-13.el5_8
- php53-pdo RHEL 5 5.3.3-13.el5_8
- php53-xml RHEL 5 5.3.3-13.el5_8
- php53-imap RHEL 5 5.3.3-13.el5_8
- php53-intl RHEL 5 5.3.3-13.el5_8
red hat advisories RHSA-2012:1047RHSA-2012:1046RHSA-2012:1045
- bugs.php.net/bug.php?id=54446 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0057 updated cvss 6.4
php: XSLT file writing vulnerability
-
Red Hat Enterprise Linux 4 phpaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-39.el5_8, php53 5.3.3-13.el5_8, php-gd 5.1.6-39.el5_8, php-cli 5.1.6-39.el5_8, php-dba 5.1.6-39.el5_8, php-pdo 5.1.6-39.el5_8, +32 morefixed: vendor fix RHSA-2012:1045
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, +19 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-common 5.3.3-14.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, +17 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-ldap 5.3.3-14.el6_3, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, php-imap 5.3.3-14.el6_3, php-intl 5.3.3-14.el6_3, php-snmp 5.3.3-14.el6_3, +8 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-ldap 5.3.3-14.el6_3, +6 morefixed: vendor fix RHSA-2012:1046
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, php-imap 5.3.3-14.el6_3, php-intl 5.3.3-14.el6_3, php-snmp 5.3.3-14.el6_3, +8 more -
Red Hat RHEL Desktop Workstation (v. 5 client) php 5.1.6-39.el5_8, php53 5.3.3-13.el5_8, php-gd 5.1.6-39.el5_8, php-cli 5.1.6-39.el5_8, php-dba 5.1.6-39.el5_8, php-pdo 5.1.6-39.el5_8, +32 morefixed: vendor fix RHSA-2012:1045
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.04% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
bugs.php.net
/bug.php?id=54446
patch, vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c03360041
vendor-advisory
-
debian.org
/security/2012/dsa-2399
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-03/msg00013.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-03/msg00016.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00001.html
vendor-advisory
-
openwall.com
/lists/oss-security/2012/01/15/1
mailing-list
-
openwall.com
/lists/oss-security/2012/01/13/6
mailing-list
-
openwall.com
/lists/oss-security/2012/01/13/5
mailing-list
-
openwall.com
/lists/oss-security/2012/01/18/3
mailing-list
- php.net /ChangeLog-5.php#5.3.9
-
openwall.com
/lists/oss-security/2012/01/13/7
mailing-list
-
secunia.com
/advisories/48668
third-party-advisory
-
openwall.com
/lists/oss-security/2012/01/15/2
mailing-list
-
openwall.com
/lists/oss-security/2012/01/15/10
mailing-list
-
openwall.com
/lists/oss-security/2012/01/14/1
mailing-list
-
openwall.com
/lists/oss-security/2012/01/14/2
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/72908
vdb-entry
-
openwall.com
/lists/oss-security/2012/01/14/3
mailing-list
-
openwall.com
/lists/oss-security/2012/01/13/4
mailing-list
-
openwall.com
/lists/oss-security/2012/01/13/10
mailing-list
Sources
- CVE List CVE-2012-0057
- NVD CVE-2012-0057
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.