Input validation error in PHP - CVE-2006-7243

 

Input validation error in PHP - CVE-2006-7243

Published: January 18, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45434
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-7243
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

PHP before 5.3.4 accepts the character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php.jpg at the end of the argument to the file_exists function.


Affected software

PHP
Gentoo Linux
Fedora
Slackware Linux
php-pecl-Fileinfo
php-pecl-zip
php-extras
dev-lang/php
php

How to mitigate CVE-2006-7243

Install update from vendor's website.

php-pecl-Fileinfo - update to 1.0.4-3.el5
php-pecl-zip - update to 1.8.10-3.el5
php-extras - update to 5.1.6-6.el5
dev-lang/php - update to 5.3.8
php - addressed in versions 5.6.9-1.fc21, 5.6.9-1.fc22

External References

Related Security Bulletins