National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2004-1020 Detail

Description

The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

Source:  MITRE
Description Last Modified:  01/10/2005

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
Allows unauthorized disclosure of information

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/26/2007)

Red Hat does not consider this issue to be a security vulnerability since no trust boundary is crossed. There are no known uses of this function which could allow a remote attacker to execute arbitrary code.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
http://www.php.net/release_4_3_10.php Vendor Advisory
http://www.securityfocus.com/advisories/9028
http://www.securityfocus.com/archive/1/384663 Exploit Vendor Advisory
http://www.securityfocus.com/bid/11981 Exploit Patch
https://exchange.xforce.ibmcloud.com/vulnerabilities/18516

Technical Details

Vulnerability Type (View All)

Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2004-1020
NVD Published Date:
01/10/2005
NVD Last Modified:
07/10/2017