Permissions, Privileges, and Access Controls in PHP - CVE-2010-1130

 

Permissions, Privileges, and Access Controls in PHP - CVE-2010-1130

Published: October 30, 2018 / Updated: June 12, 2025


Vulnerability identifier: #VU110311
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-2010-1130
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to the session_save_path function, which allows context-dependent attackers to bypass open_basedir and safe_mode restrictions via an argument that contains multiple ; characters in conjunction with a .. (dot dot).


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-1130

Install update from vendor's website.

PHP - addressed in versions 5.2.14, 5.3.2
dev-lang/php - update to 5.3.8

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins