{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2006-4023","published":"2006-08-09T00:04:00Z","last_modified":"2026-06-16T22:28:16.940000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version":"4.3.3"},{"criteria":"cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version":"5.0.2"},{"criteria":"cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version":"5.1.4"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.05745,"percentile":0.93836,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2006-4023/","html_en":"/en/cve/CVE-2006-4023/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-4023","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-4023"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"The ip2long function in PHP 5.1.4 and earlier may incorrectly validate an arbitrary string and return a valid network IP address, which allows remote attackers to obtain network information and facilitate other attacks, as demonstrated using SQL injection in the X-FORWARDED-FOR Header in index.php in MiniBB 2.0.  NOTE: it could be argued that the ip2long behavior represents a risk for security-relevant issues in a way that is similar to strcpy's role in buffer overflows, in which case this would be a class of implementation bugs that would require separate CVE items for each PHP application that uses ip2long in a security-relevant manner.","affected":[],"references":[{"url":"http://retrogod.altervista.org/php_ip2long.htm","tags":["Exploit"]},{"url":"http://securitytracker.com/id?1016609","tags":["Exploit"]},{"url":"http://www.securityfocus.com/archive/1/441529/100/100/threaded","tags":[]},{"url":"http://www.securityfocus.com/archive/1/441708/100/100/threaded","tags":[]}]}}