PHPNews sendtofriend.php 'mid' Parameter SQLi

high Nessus Plugin ID 15861

Synopsis

The remote web server is hosting a PHP script that is affected by a SQL injection vulnerability.

Description

The PHPNews application running on the remote web server is affected by a SQL injection vulnerability due to improper validation of user-supplied input to the 'mid' parameter tin the sendtofriend.php script. A remote attacker can exploit this to inject arbitrary SQL commands.

Solution

Upgrade to PHPNews 1.2.4 or later.

Plugin Details

Severity: High

ID: 15861

File Name: php_news_sql_inject.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 11/30/2004

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 11/24/2004

Reference Information

CVE: CVE-2004-2474

BID: 11748