#VU45434 Input validation error in PHP - CVE-2006-7243


| Updated: 2020-08-11

Vulnerability identifier: #VU45434

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2006-7243

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 1.0, 2.0b10, 2.0, 3.0 - 3.0.18, 4.0 - 4.0.7, 4.1.0 - 4.1.2, 4.2.0 - 4.2.3, 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.2


External links
https://bugs.php.net/39863
https://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
https://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
https://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
https://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
https://marc.info/?l=bugtraq&m=132871655717248&w=2
https://marc.info/?l=bugtraq&m=133469208622507&w=2
https://openwall.com/lists/oss-security/2010/11/18/4
https://openwall.com/lists/oss-security/2010/11/18/5
https://openwall.com/lists/oss-security/2010/12/09/10
https://openwall.com/lists/oss-security/2010/12/09/11
https://openwall.com/lists/oss-security/2010/12/09/9
https://rhn.redhat.com/errata/RHSA-2013-1307.html
https://rhn.redhat.com/errata/RHSA-2013-1615.html
https://rhn.redhat.com/errata/RHSA-2014-0311.html
https://secunia.com/advisories/55078
https://support.apple.com/kb/HT4581
https://svn.php.net/viewvc?view=revision&revision=305412
https://svn.php.net/viewvc?view=revision&revision=305507
https://www.madirish.net/?article=436
https://www.mandriva.com/security/advisories?name=MDVSA-2010:254
https://www.php.net/archive/2010.php#id2010-12-10-1
https://www.php.net/ChangeLog-5.php
https://www.php.net/releases/5_3_4.php
https://www.securityfocus.com/bid/44951
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12569


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability