Skip to content
OpenAdvisories
Unscored Public exploit CVE-2006-1494 EUVD-2006-1498GHSA-4jq7-hvr2-qgmp

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 att…

Published Apr 10, 2006 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 4 php +13 4.3.9-3.15 RHSA-2006:0568
RHEL 3 php +6 4.3.2-33.ent RHSA-2006:0568
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References