CVE-2004-1020

Current 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.

Basic Data

PublishedJanuary 10, 2005
Last ModifiedJuly 11, 2017
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeNVD-CWE-Other
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactNONE
CVSS 2 - Base Score5.0
SeverityMEDIUM
Exploitability Score10.0
Impact Score2.9
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationPhpPhp4.3.6*******
    2.3ApplicationPhpPhp4.3.7*******
    2.3ApplicationPhpPhp4.3.8*******
    2.3ApplicationPhpPhp4.3.9*******
    2.3ApplicationPhpPhp5.0rc1******
    2.3ApplicationPhpPhp5.0rc2******
    2.3ApplicationPhpPhp5.0rc3******
    2.3ApplicationPhpPhp5.0.0*******
    2.3ApplicationPhpPhp5.0.1*******
    2.3ApplicationPhpPhp5.0.2*******

Vulnerable Software List

VendorProductVersions
Php Php 4.3.6, 4.3.7, 4.3.8, 4.3.9, 5.0, 5.0.0, 5.0.1, 5.0.2

References

NameSourceURLTags
CLA-2005:915http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915CONECTIVA
GLSA-200412-14http://www.gentoo.org/security/en/glsa/glsa-200412-14.xmlGENTOOVendor Advisory
MDKSA-2004:151http://www.mandriva.com/security/advisories?name=MDKSA-2004:151MANDRAKE
http://www.php.net/release_4_3_10.phphttp://www.php.net/release_4_3_10.phpCONFIRMVendor Advisory
HPSBMA01212http://www.securityfocus.com/advisories/9028HP
20041216 PHP Input Validation Vulnerabilitieshttp://www.securityfocus.com/archive/1/384663BUGTRAQExploit Vendor Advisory
11981http://www.securityfocus.com/bid/11981BIDExploit Patch
php-addslashes-view-files(18516)https://exchange.xforce.ibmcloud.com/vulnerabilities/18516XF