{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2004-1020",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "php-addslashes-view-files(18516)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/18516"
            },
            {
                "name": "http://www.php.net/release_4_3_10.php",
                "refsource": "CONFIRM",
                "url": "http://www.php.net/release_4_3_10.php"
            },
            {
                "name": "MDKSA-2004:151",
                "refsource": "MANDRAKE",
                "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2004:151"
            },
            {
                "name": "11981",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/11981"
            },
            {
                "name": "20041216 PHP Input Validation Vulnerabilities",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/384663"
            },
            {
                "name": "CLA-2005:915",
                "refsource": "CONECTIVA",
                "url": "http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915"
            },
            {
                "name": "GLSA-200412-14",
                "refsource": "GENTOO",
                "url": "http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml"
            },
            {
                "name": "HPSBMA01212",
                "refsource": "HP",
                "url": "http://www.securityfocus.com/advisories/9028"
            }
        ]
    }
}