php: file path injection vulnerability in RFC1867 file upload filename
Published Jun 16, 2011
6.4
MEDIUMCVSS 2.0
EPSS 19.74%
Description
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."
Affected products
No data.
- ≤ 5.3.6
- 1.0
- 2.0
- 2.0b10
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 4.4.7
- 4.4.8
- 4.4.9
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
No data.
Red Hat Enterprise Linux 4
php-0:4.3.9-3.35
Fixed · RHSA-2012:0071
Red Hat Enterprise Linux 5
php-0:5.1.6-27.el5_7.4
Fixed · RHSA-2012:0033
Red Hat Enterprise Linux 5
php53-0:5.3.3-1.el5_7.3
Fixed · RHSA-2011:1423
Red Hat Enterprise Linux 6
php-0:5.3.3-3.el6_1.3
Fixed · RHSA-2011:1423
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.35 | Fixed | RHSA-2012:0071 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-27.el5_7.4 | Fixed | RHSA-2012:0033 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-1.el5_7.3 | Fixed | RHSA-2011:1423 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-3.el6_1.3 | Fixed | RHSA-2011:1423 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (42 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 19.74% (0.19736) | 97.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 19.23% (0.19235) | 96.98th | v5 (v2026.06.15) |
| May 24, 2026 | 11.67% (0.11671) | 93.77th | v4 (v2025.03.14) |
| Mar 4, 2026 | 20.55% (0.20552) | 95.45th | v4 (v2025.03.14) |
| Mar 1, 2026 | 17.45% (0.17451) | 94.97th | v4 (v2025.03.14) |
| Feb 23, 2026 | 20.55% (0.20552) | 95.45th | v4 (v2025.03.14) |
| Feb 4, 2026 | 21.69% (0.21689) | 95.59th | v4 (v2025.03.14) |
| Feb 1, 2026 | 18.47% (0.18466) | 95.09th | v4 (v2025.03.14) |
| Jan 4, 2026 | 21.69% (0.21689) | 95.55th | v4 (v2025.03.14) |
| Jan 1, 2026 | 18.47% (0.18466) | 95.07th | v4 (v2025.03.14) |
| Dec 28, 2025 | 21.69% (0.21689) | 95.55th | v4 (v2025.03.14) |
| Dec 27, 2025 | 23.21% (0.23207) | 95.78th | v4 (v2025.03.14) |
| Dec 7, 2025 | 21.69% (0.21689) | 95.52th | v4 (v2025.03.14) |
| Dec 4, 2025 | 9.25% (0.09251) | 92.41th | v4 (v2025.03.14) |
| Dec 1, 2025 | 7.63% (0.07626) | 91.56th | v4 (v2025.03.14) |
| Nov 4, 2025 | 9.25% (0.09251) | 92.37th | v4 (v2025.03.14) |
| Nov 1, 2025 | 7.63% (0.07626) | 91.49th | v4 (v2025.03.14) |
| Oct 4, 2025 | 9.25% (0.09251) | 92.41th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.40% (0.07397) | 91.40th | v4 (v2025.03.14) |
| Sep 4, 2025 | 9.59% (0.09595) | 92.59th | v4 (v2025.03.14) |
| Sep 1, 2025 | 7.92% (0.07916) | 91.75th | v4 (v2025.03.14) |
| Aug 4, 2025 | 9.59% (0.09595) | 92.54th | v4 (v2025.03.14) |
| Aug 1, 2025 | 7.92% (0.07916) | 91.72th | v4 (v2025.03.14) |
| Jul 5, 2025 | 8.98% (0.08979) | 92.20th | v4 (v2025.03.14) |
| Jul 1, 2025 | 7.40% (0.07397) | 91.31th | v4 (v2025.03.14) |
| Jun 5, 2025 | 8.98% (0.08979) | 92.14th | v4 (v2025.03.14) |
| Jun 1, 2025 | 7.40% (0.07397) | 91.28th | v4 (v2025.03.14) |
| May 7, 2025 | 8.98% (0.08979) | 92.12th | v4 (v2025.03.14) |
| May 4, 2025 | 12.24% (0.12239) | 93.44th | v4 (v2025.03.14) |
| May 1, 2025 | 10.16% (0.10163) | 92.71th | v4 (v2025.03.14) |
| Apr 2, 2025 | 12.24% (0.12239) | 93.25th | v4 (v2025.03.14) |
| Apr 1, 2025 | 10.16% (0.10163) | 92.40th | v4 (v2025.03.14) |
| Mar 30, 2025 | 12.24% (0.12239) | 93.23th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.24% (0.19236) | 92.40th | v4 (v2025.03.14) |
| Mar 19, 2025 | 12.24% (0.12239) | 92.97th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.44% (0.09437) | 92.22th | v4 (v2025.03.14) |
| Feb 6, 2025 | 8.31% (0.08314) | 94.45th | v3 (v2023.03.01) |
| Jul 5, 2023 | 5.48% (0.05482) | 92.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 6.48% (0.06484) | 92.57th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.57% (0.12567) | 95.52th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.57% (0.12567) | 95.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.57% (0.12567) | 90.03th | v2 (v2022.01.01) |
References (25)
- http://bugs.php.net/bug.php?id=54939 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html vendor-advisoryx_refsource_APPLE
- http://marc.info/?l=bugtraq&m=133469208622507&w=2 vendor-advisoryx_refsource_HP
- http://openwall.com/lists/oss-security/2011/06/12/5 mailing-listx_refsource_MLISTPatch
- http://openwall.com/lists/oss-security/2011/06/13/15 mailing-listx_refsource_MLISTPatch
- http://pastebin.com/1edSuSVN x_refsource_MISCExploit
- http://rhn.redhat.com/errata/RHSA-2012-0071.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/44874 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://securitytracker.com/id?1025659 vdb-entryx_refsource_SECTRACK
- http://support.apple.com/kb/HT5130 x_refsource_CONFIRM
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?view=markup&pathrev=312103 x_refsource_CONFIRM
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/rfc1867.c?r1=312103&r2=312102&pathrev=312103 x_refsource_CONFIRMPatch
- http://svn.php.net/viewvc?view=revision&revision=312103 x_refsource_CONFIRMPatch
- http://www.debian.org/security/2011/dsa-2266 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/ChangeLog-5.php#5.3.7 x_refsource_CONFIRM
- http://www.php.net/archive/2011.php#id2011-08-18-1 x_refsource_CONFIRM
- http://www.redhat.com/support/errata/RHSA-2011-1423.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/48259 vdb-entryx_refsource_BID
- http://www.securityfocus.com/bid/49241 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2011-2202 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=713194 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67999 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2011-2202
- https://www.cve.org/CVERecord?id=CVE-2011-2202
Change history (0)
No recorded changes yet.