PHP ip2long Function String Validation Weakness

Medium Nessus Plugin ID 17715


The remote web server uses a version of PHP that does not properly validate user strings.


According to its banner, the 'ip2long()' function in the version of PHP installed on the remote host may incorrectly validate an arbitrary string and return a valid network IP address.


Upgrade to PHP version 5.1.5 or later.

See Also

Plugin Details

Severity: Medium

ID: 17715

File Name: php_ip2long_sql_injection.nasl

Version: 1.7

Type: remote

Family: CGI abuses

Published: 2011/11/18

Updated: 2020/04/30

Dependencies: 48243

Risk Information

Risk Factor: Medium

CVSS Score Source: CVE-2006-4023

CVSS v2.0

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS v3.0

Base Score: 5.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP, Settings/PCI_DSS, installed_sw/PHP

Patch Publication Date: 2006/08/17

Vulnerability Publication Date: 2006/07/29

Reference Information

CVE: CVE-2006-4023