National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2006-4023 Detail

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
Description Last Modified:  08/08/2006

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
Allows unauthorized disclosure of information

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

Technical Details

Vulnerability Type (View All)

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