NVD Vulnerability Detail
Search Exploit, PoC
CVE-2006-4023
Summary

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.

Publication Date Aug. 9, 2006, 9:04 a.m.
Registration Date Jan. 29, 2021, 3:43 p.m.
Last Update Oct. 18, 2018, 6:32 a.m.
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP の ip2long 関数におけるネットワーク情報を取得される脆弱性
Title PHP の ip2long 関数におけるネットワーク情報を取得される脆弱性
Summary

PHP の ip2long 関数は、任意の文字列を間違って検証し有効なネットワーク IP アドレスを返すため、ネットワーク情報を取得される、および他の攻撃を実行される脆弱性が存在します。

Possible impacts 第三者により、ネットワーク情報を取得され、他の攻撃を実行される可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 8, 2006, midnight
Registration Date Sept. 25, 2012, 3:35 p.m.
Last Update Sept. 25, 2012, 3:35 p.m.
Affected System
The PHP Group
PHP 5.1.4 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年09月25日]
  掲載
Feb. 17, 2018, 10:37 a.m.