Vulnerability in PHP

CVE-2011-2202

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."

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.197, 97.4th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 1.0, 2.0, 2.0b10

Weakness classification (CWE)

References