Skip to content
Fencer Vulns
medium 5.0

CVE-2004-1392 json

PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read arbitrary files via a file: URL argument to…

published 2004-12-31 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1389

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
10.8%
EPSS 10.8% chance of exploitation in 30 days, percentile 95%
public exploits
1
Exploit-DB

Summary

PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read arbitrary files via a file: URL argument to the curl_init function.

Patch / fix

  • php RHEL 4 4.3.9-3.6
  • php-gd RHEL 4 4.3.9-3.6
  • php-imap RHEL 4 4.3.9-3.6
  • php-ldap RHEL 4 4.3.9-3.6
  • php-odbc RHEL 4 4.3.9-3.6
  • php-pear RHEL 4 4.3.9-3.6
  • php-snmp RHEL 4 4.3.9-3.6
  • php-mysql RHEL 4 4.3.9-3.6

red hat advisories RHSA-2005:406RHSA-2005:405

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2004-1392 updated

security flaw

  • Red Hat Desktop version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent
    fixed: vendor fix RHSA-2005:405
  • Red Hat Enterprise Linux AS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more
    fixed: vendor fix RHSA-2005:406
  • Red Hat Enterprise Linux ES version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent
    fixed: vendor fix RHSA-2005:405
  • Red Hat Enterprise Linux ES version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more
    fixed: vendor fix RHSA-2005:406
  • Red Hat Enterprise Linux WS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent
    fixed: vendor fix RHSA-2005:405
  • Red Hat Enterprise Linux WS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more
    fixed: vendor fix RHSA-2005:406

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-24711)
  2. Published

Exploit prediction

10.76% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-24711 PHP 4.x/5 - cURL 'open_basedir' Restriction Bypass remote, 2004-10-28
  • securityfocus.com http://www.securityfocus.com/bid/11557 referenced PoC, tagged "exploit" by a source, unverified
  • securitytracker.com http://securitytracker.com/id?1011984 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.