Vulnerability identifier: #VU110310
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
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 read and manipulate data.
The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-dependent attackers to bypass intended access restrictions via vectors related to use of the tempnam function.
Mitigation
Install update from vendor's website.
Vulnerable software versions
PHP: 5.2, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8, 5.2.9, 5.2.10, 5.2.11, 5.2.12
External links
https://itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02286083
https://lists.apple.com/archives/security-announce/2010//Aug/msg00003.html
https://secunia.com/advisories/38708
https://secunia.com/advisories/40551
https://securitytracker.com/id?1023661
https://support.apple.com/kb/HT4312
https://www.php.net/ChangeLog-5.php
https://www.php.net/releases/5_2_13.php
https://www.securityfocus.com/bid/38431
https://www.vupen.com/english/advisories/2010/0479
https://www.vupen.com/english/advisories/2010/1796
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.