Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461528 (CVE-2006-4023) - dev-lang/php: Improper validation of strings in ip2long function (CVE-2006-4023)
Summary: dev-lang/php: Improper validation of strings in ip2long function (CVE-2006-4023)
Status: RESOLVED INVALID
Alias: CVE-2006-4023
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 14:32 UTC by Agostino Sarubbo
Modified: 2013-09-12 21:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-03-12 14:32:23 UTC
From ${URL} :

Common Vulnerabilities and Exposures assigned an identifier CVE-2006-4023 to the following 
vulnerability:

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.

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4023
[2] http://www.securityfocus.com/archive/1/archive/1/441529/100/100/threaded
[3] http://www.securityfocus.com/archive/1/archive/1/441708/100/100/threaded
[4] http://retrogod.altervista.org/php_ip2long.htm
[5] http://securitytracker.com/id?1016609
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2013-07-03 00:24:57 UTC
Have we seen anything to indicate this affects a version in the tree? It says 5.1.4 and earlier, but earliest we have in tree is 5.3.23.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-09-12 21:43:40 UTC
NVD says nothing in tree is affected. Closing INVALID.