PHPX admin/index.php username Parameter SQL Injection

high Nessus Plugin ID 20251

Synopsis

The remote web server has a PHP application that is affected by a SQL injection flaw.

Description

The remote host is running PHPX, a content management system written in PHP.

The installed version of PHPX does not validate input to the 'username' parameter of the 'admin/index.php' script before using it in a database query. Provided PHP's 'magic_quotes_gpc' setting is off, an attacker can leverage this issue to manipulate SQL queries to, for example, bypass authentication and gain administrative access to the affected application.

Solution

Enable PHP's 'magic_quotes_gpc' setting.

See Also

https://exchange.xforce.ibmcloud.com/vulnerabilities/23459

Plugin Details

Severity: High

ID: 20251

File Name: phpx_username_sql_injection.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 12/2/2005

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: 6.5

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

Vulnerability Information

CPE: cpe:/a:phpx:phpx

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 11/30/2005

Reference Information

CVE: CVE-2005-3968

BID: 15680