CVE-2004-1392
PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2004-1392- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-1392- Updated
- 2026-11-02
EUVDEUVD-2004-1389 No score
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.
- Record
EUVD-2004-1389- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5h5w-vq2m-cxf3 No score
PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read...
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.
- Record
GHSA-5h5w-vq2m-cxf3- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
Show 82 moreShow less
| Package | Affected | Fixed |
|---|---|---|
php-develRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 4.x/5 - cURL 'open_basedir' Restriction Bypass | 2004-10-28 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-1392 is a medium vulnerability (CVSS 5.0) in Php, published December 31, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 10.8%, the 95th percentile. Fixed in php 0:4.3.2-23.ent.
References
exchange.xforce.ibmcloud.com/vulnerabilities/17900
redhat.com/support/errata/RHSA-2005-406.html
securityfocus.com/bid/11557
marc.info?l=bugtraq&m=110625060220934&w=2
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9279
bugzilla.fedora.us/show_bug.cgi?id=2344
Show 37 moreShow less
securitytracker.com/id?1011984
marc.info?l=bugtraq&m=109898213806099&w=2
redhat.com/support/errata/RHSA-2005-405.html
nvd.nist.gov/vuln/detail/CVE-2004-1392
github.com/advisories/GHSA-5h5w-vq2m-cxf3
access.redhat.com/errata/RHSA-2005:405
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=145436
bugzilla.redhat.com/show_bug.cgi?id=147808
bugzilla.redhat.com/show_bug.cgi?id=149873
bugzilla.redhat.com/show_bug.cgi?id=149946
bugzilla.redhat.com/show_bug.cgi?id=153140
bugzilla.redhat.com/show_bug.cgi?id=154021
bugzilla.redhat.com/show_bug.cgi?id=154025
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_405.json
access.redhat.com/security/cve/CVE-2004-1392
bugzilla.redhat.com/show_bug.cgi?id=1617411
cve.org/CVERecord?id=CVE-2004-1392
access.redhat.com/security/cve/CVE-2005-0524
bugzilla.redhat.com/show_bug.cgi?id=1617533
cve.org/CVERecord?id=CVE-2005-0524
nvd.nist.gov/vuln/detail/CVE-2005-0524
access.redhat.com/security/cve/CVE-2005-0525
bugzilla.redhat.com/show_bug.cgi?id=1617534
cve.org/CVERecord?id=CVE-2005-0525
nvd.nist.gov/vuln/detail/CVE-2005-0525
access.redhat.com/security/cve/CVE-2005-1042
bugzilla.redhat.com/show_bug.cgi?id=1617600
cve.org/CVERecord?id=CVE-2005-1042
nvd.nist.gov/vuln/detail/CVE-2005-1042
access.redhat.com/security/cve/CVE-2005-1043
bugzilla.redhat.com/show_bug.cgi?id=1617601
cve.org/CVERecord?id=CVE-2005-1043
nvd.nist.gov/vuln/detail/CVE-2005-1043
access.redhat.com/errata/RHSA-2005:406
bugzilla.redhat.com/show_bug.cgi?id=153108
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_406.json