CVE-2006-1494 Path traversal in n/a

Low 2.6 Published Updated

Remote attackers can bypass open_basedir restrictions to create files in arbitrary directories via the tempnam function in PHP.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-1494?

CVE-2006-1494 is a low-severity path traversal vulnerability in Php Php, published on 10 Apr 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in file.c in PHP 4.4.2 and 5.1.2 allows local users to bypass open_basedir restrictions allows remote attackers to create files in arbitrary directories via the tempnam function.

Which versions are affected by CVE-2006-1494?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2006-1494?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2006-1494 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-4jq7-hvr2-qgmp.

Is CVE-2006-1494 in your software?

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

Check your SBOMs for free