CVE-2008-7068 Denial of service in n/a

Medium 6.4 Published Updated

Attackers with database write access can cause file truncation and denial of service in PHP via NULL byte injection in dba_replace.

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

What is CVE-2008-7068?

CVE-2008-7068 is a medium-severity denial of service vulnerability in Php Php, published on 25 Aug 2009. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a denial of service (file truncation) via a key with the NULL byte. NOTE: this might only be a vulnerability in limited circumstances in which the attacker can modify or add database entries but does not have permissions to truncate the file.

Weakness: CWE-20

Which versions are affected by CVE-2008-7068?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2008-7068?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2008-7068 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-r7m8-6r5m-4fqh.

Is CVE-2008-7068 in your software?

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

Check your SBOMs for free