Invision Power Board classes/class_session.php CLIENT_IP HTTP Header SQL Injection

high Nessus Plugin ID 22089

Synopsis

The remote web server contains a PHP application that is susceptible to a SQL injection attack.

Description

According to its banner, the installation of Invision Power Board on the remote host reportedly fails to sanitize input to the 'CLIENT_IP' HTTP request header before using it in database queries. An unauthenticated attacker may be able to leverage this issue to disclose sensitive information, modify data, or launch attacks against the underlying database.

Note that it's unclear whether successful exploitation depends on any PHP settings, such as 'magic_quotes'.

Solution

Upgrade to Invision Power Board 2.1.7 or later.

Plugin Details

Severity: High

ID: 22089

File Name: invision_power_board_217.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 7/24/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

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

Vulnerability Information

CPE: cpe:/a:invisionpower:invision_power_board

Required KB Items: www/invision_power_board

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/14/2006

Reference Information

CVE: CVE-2006-7071

BID: 18984