CVE-2007-1835 Security feature bypass in n/a

Medium 4.6 Published Updated

Local users can bypass open_basedir restrictions in PHP when session.save_path is empty, potentially accessing restricted files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-1835?

CVE-2007-1835 is a medium-severity vulnerability in Php Php, published on 3 Apr 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

PHP 4 before 4.4.5 and PHP 5 before 5.2.1, when using an empty session save path (session.save_path), uses the TMPDIR default after checking the restrictions, which allows local users to bypass open_basedir restrictions.

Which versions are affected by CVE-2007-1835?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-1835?

No fix has been published for CVE-2007-1835 yet. Limit exposure of the affected software until one is available.

Is CVE-2007-1835 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1835 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-9x38-6qv2-vw32.

Is CVE-2007-1835 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free