{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2008-7068",
        "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 dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a denial of service (file truncation) via a key with the NULL byte.  NOTE: this might only be a vulnerability in limited circumstances in which the attacker can modify or add database entries but does not have permissions to truncate the file."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "20081206 Re: SecurityReason : PHP 5.2.6 dba_replace() destroying file",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/498982/100/0/threaded"
            },
            {
                "name": "php-dbareplace-file-corruption(47316)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/47316"
            },
            {
                "name": "52206",
                "refsource": "OSVDB",
                "url": "http://www.osvdb.org/52206"
            },
            {
                "name": "20081127 PHP 5.2.6 dba_replace() destroying file",
                "refsource": "SREASONRES",
                "url": "http://securityreason.com/achievement_securityalert/58"
            },
            {
                "name": "20081127 SecurityReason : PHP 5.2.6 dba_replace() destroying file",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/498746/100/0/threaded"
            },
            {
                "name": "http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&",
                "refsource": "CONFIRM",
                "url": "http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&"
            },
            {
                "name": "20081206 Re: SecurityReason : PHP 5.2.6 dba_replace() destroying file",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/498981/100/0/threaded"
            }
        ]
    }
}