National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2006-4023 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

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://retrogod.altervista.org/php_ip2long.htm Exploit
http://securitytracker.com/id?1016609 Exploit
http://www.securityfocus.com/archive/1/441529/100/100/threaded
http://www.securityfocus.com/archive/1/441708/100/100/threaded

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2006-4023
NVD Published Date:
08/08/2006
NVD Last Modified:
10/17/2018