CVE-2006-6383
What it is
PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, which causes a parsing inconsistency in which PHP validates the allowed path but sets session.save_path to the malicious path.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 1.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.1% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- PHP 4.4.0
- PHP 5.2.0
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2006-6383.md and follow it. Check whether this project is affected by CVE-2006-6383. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/24022
- http://secunia.com/advisories/24514
- http://secunia.com/advisories/24022
- http://secunia.com/advisories/24514
References
- http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.53.2.7&r2=1.336.2.53.2.8
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- http://secunia.com/advisories/24022
- http://secunia.com/advisories/24514
- http://securityreason.com/achievement_securityalert/43
- http://securityreason.com/securityalert/2000
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:038
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://www.securityfocus.com/archive/1/453938/30/9270/threaded
- http://www.securityfocus.com/bid/21508
- http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.53.2.7&r2=1.336.2.53.2.8
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- http://secunia.com/advisories/24022
- http://secunia.com/advisories/24514
- http://securityreason.com/achievement_securityalert/43
- http://securityreason.com/securityalert/2000
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:038
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://www.securityfocus.com/archive/1/453938/30/9270/threaded
- http://www.securityfocus.com/bid/21508