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

Medium 6.8 Published Updated

Remote attackers can bypass PHP safe_mode and open_basedir restrictions via MySQL file functions, allowing unauthorized file access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-4889?

CVE-2007-4889 is a medium-severity vulnerability in Php Php, published on 14 Sep 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The MySQL extension in PHP 5.2.4 and earlier allows remote attackers to bypass safe_mode and open_basedir restrictions via the MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, and (3) INTO OUTFILE functions, a different issue than CVE-2007-3997.

Which versions are affected by CVE-2007-4889?

It affects 2 products.

Products include Php Mysql Extension, Php Php.

How do I fix CVE-2007-4889?

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

Is CVE-2007-4889 being exploited?

There is no known exploitation of CVE-2007-4889 in the wild and no public exploit code.

Sources

Also known as GHSA-chpc-3cm4-f9gq.

Is CVE-2007-4889 in your software?

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

Check your SBOMs for free