#VU110355 Permissions, Privileges, and Access Controls in PHP - CVE-2007-5900


| Updated: 2025-06-08

Vulnerability identifier: #VU110355

Vulnerability risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2007-5900

CWE-ID: CWE-264

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a local user to execute arbitrary code.

PHP before 5.2.5 allows local users to bypass protection mechanisms configured through php_admin_value or php_admin_flag in httpd.conf by using ini_set to modify arbitrary configuration variables, a different issue than CVE-2006-4625.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 5.2, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4


External links
https://bugs.php.net/bug.php?id=41561
https://secunia.com/advisories/27648
https://secunia.com/advisories/27659
https://secunia.com/advisories/30040
https://securitytracker.com/id?1018934
https://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
https://www.php.net/ChangeLog-5.php#5.2.5
https://www.php.net/releases/5_2_5.php
https://www.securityfocus.com/archive/1/491693/100/0/threaded
https://issues.rpath.com/browse/RPL-1943


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability