Improper filename restriction in rfc1867_post_handler
Multiple products
At a glance
The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 19.736%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.3.6Show full version range for php1.02.02.0b103.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.163.0.173.0.183.0.23.0.33.0.43.0.53.0.63.0.73.0.83.0.94.04.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.2.04.2.14.2.24.2.34.3.04.3.14.3.104.3.114.3.24.3.34.3.44.3.54.3.64.3.74.3.84.3.94.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.4.95.3.05.3.15.3.25.3.35.3.45.3.5 |
| Vendor:oraclelinux | phpEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-bcmathEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-cliEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-commonEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-dbaEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-develEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-gdEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-imapEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
| Vendor:oraclelinux | php-ldapEnvironments (1)
| Affected versions: < 0:5.1.6-27.el5_7.4 |
1–10 of 446 · Page 1 of 45
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.4 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Pnvd · Wazuh CTI (cna)6.4 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Predhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Nalas · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Noraclelinux · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories34
- CVE List / CNA
- NVD
- Wazuh CTI
- FIRST EPSS
- openwall.com
- lists.apple.com
- securityfocus.com
- debian.org
- openwall.com
- securityfocus.com
- mandriva.com
- securitytracker.com
- svn.php.net
- exchange.xforce.ibmcloud.com
- svn.php.net
- secunia.com
- bugs.php.net
- redhat.com
- php.net
- rhn.redhat.com
- php.net
- pastebin.com
- svn.php.net
- marc.info
- support.apple.com
- access.redhat.com
- SUSE CVE-2011-2202
- SUSE-SU-2012:0496-1
- SUSE-SU-2013:1351-1
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2011-2202
- cve.mitre.org
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences