Back to CVE catalog
CVE-2011-2202

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

Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.4Medium
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 and affected versions
Vendor:phpphpAffected versions:
≤ 5.3.6Show full version range for php
1.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:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-bcmath
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-cli
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-common
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-dba
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-gd
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-imap
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-27.el5_7.4
Vendor:oraclelinuxphp-ldap
Environments (1)
  • cpe:/o:oracle:linux:5
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:P
nvd · 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:P
redhat · 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:N
alas · 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:N
oraclelinux · 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:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories34

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