PHPNews auth.php Multiple Parameter SQL Injection

medium Nessus Plugin ID 19287

Synopsis

The remote web server contains a PHP script that is prone to a SQL injection attack.

Description

The remote host is running PHPNews, an open source news application written in PHP.

The installed version of PHPNews is prone to a SQL injection attack because of its failure to sanitize user-supplied input via the 'user' and 'password' parameters of the 'auth.php' script. Provided PHP's 'magic_quotes_gpc' setting is disabled, an attacker can exploit this flaw to manipulate SQL queries, and/or even to gain administrative access.

Solution

Upgrade to PHPNews version 1.3.0 or later.

See Also

https://seclists.org/bugtraq/2005/Jul/328

http://newsphp.sourceforge.net/changelog/changelog_1.30.txt

Plugin Details

Severity: Medium

ID: 19287

File Name: phpnews_auth_sql_injection.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 7/22/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: Medium

Base Score: 6.8

Temporal Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:phpnews:phpnews

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/20/2005

Reference Information

CVE: CVE-2005-2383

BID: 14333