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.


There is no known solution at this time.

See Also

Plugin Details

Severity: Medium

ID: 17715

File Name: php_ip2long_sql_injection.nasl

Version: 1.5

Type: remote

Family: CGI abuses

Published: 2011/11/18

Updated: 2018/11/15

Dependencies: 48243

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP, Settings/PCI_DSS

Vulnerability Publication Date: 2006/07/29

Reference Information

CVE: CVE-2006-4023