Skip to content
Fencer Intel
medium 6.4

CVE-2011-2202 json

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 re…

published 2011-06-16 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-2192

cvss
6.4
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
19.7%
EPSS 19.7% chance of exploitation in 30 days, percentile 97%
public exploits
1
Exploit-DB

Summary

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

Patch / fix

  • php RHEL 4 4.3.9-3.35
  • php-gd RHEL 4 4.3.9-3.35
  • php-imap RHEL 4 4.3.9-3.35
  • php-ldap RHEL 4 4.3.9-3.35
  • php-odbc RHEL 4 4.3.9-3.35
  • php-pear RHEL 4 4.3.9-3.35
  • php-snmp RHEL 4 4.3.9-3.35
  • php-mysql RHEL 4 4.3.9-3.35

red hat advisories RHSA-2012:0071RHSA-2012:0033RHSA-2011:1423

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1

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-2011-2202 updated cvss 2.6

php: file path injection vulnerability in RFC1867 file upload filename

  • Red Hat Enterprise Linux (v. 5 server) php 5.1.6-27.el5_7.4, php53 5.3.3-1.el5_7.3, php-gd 5.1.6-27.el5_7.4, php-cli 5.1.6-27.el5_7.4, php-dba 5.1.6-27.el5_7.4, php-pdo 5.1.6-27.el5_7.4, +32 more
    fixed: vendor fix RHSA-2012:0033
  • Red Hat Enterprise Linux AS version 4 php 4.3.9-3.35, php-gd 4.3.9-3.35, php-imap 4.3.9-3.35, php-ldap 4.3.9-3.35, php-odbc 4.3.9-3.35, php-pear 4.3.9-3.35, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.35, php-gd 4.3.9-3.35, php-imap 4.3.9-3.35, php-ldap 4.3.9-3.35, php-odbc 4.3.9-3.35, php-pear 4.3.9-3.35, +7 more Red Hat Enterprise Linux ES version 4 php 4.3.9-3.35, php-gd 4.3.9-3.35, php-imap 4.3.9-3.35, php-ldap 4.3.9-3.35, php-odbc 4.3.9-3.35, php-pear 4.3.9-3.35, +7 more
    fixed: vendor fix RHSA-2012:0071
  • Red Hat Enterprise Linux Server (v. 6) php 5.3.3-3.el6_1.3, php-gd 5.3.3-3.el6_1.3, php-cli 5.3.3-3.el6_1.3, php-dba 5.3.3-3.el6_1.3, php-pdo 5.3.3-3.el6_1.3, php-xml 5.3.3-3.el6_1.3, +19 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-3.el6_1.3, php-gd 5.3.3-3.el6_1.3, php-cli 5.3.3-3.el6_1.3, php-dba 5.3.3-3.el6_1.3, php-pdo 5.3.3-3.el6_1.3, php-xml 5.3.3-3.el6_1.3, +19 more
    fixed: vendor fix RHSA-2011:1423
  • Red Hat Enterprise Linux WS version 4 php 4.3.9-3.35, php-gd 4.3.9-3.35, php-imap 4.3.9-3.35, php-ldap 4.3.9-3.35, php-odbc 4.3.9-3.35, php-pear 4.3.9-3.35, +7 more
    fixed: vendor fix RHSA-2012:0071
  • Red Hat RHEL Desktop Workstation (v. 5 client) php 5.1.6-27.el5_7.4, php53 5.3.3-1.el5_7.3, php-gd 5.1.6-27.el5_7.4, php-cli 5.1.6-27.el5_7.4, php-dba 5.1.6-27.el5_7.4, php-pdo 5.1.6-27.el5_7.4, +32 more
    fixed: vendor fix RHSA-2012:0033

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

Timeline

  1. First public exploit (EDB-35855)
  2. Published

Exploit prediction

19.74% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-35855 PHP 5.3.6 - Security Bypass remote, 2011-06-14
  • pastebin.com http://pastebin.com/1edSuSVN referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
Technology feeds

References

Sources

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.