PHPNews auth.php path Parameter Remote File Inclusion

medium Nessus Plugin ID 17247

Synopsis

The remote web server contains a PHP script that suffers from a remote file include vulnerability.

Description

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

The installed version of PHPNews has a remote file include vulnerability in the script 'auth.php'. By leveraging this flaw, a attacker can cause arbitrary PHP code to be executed on the remote host using the permissions of the web server user.

Solution

Upgrade to PHPNews 1.2.5 or greater or make sure PHP's 'register_globals' and 'allow_url_fopen' settings are disabled.

See Also

https://seclists.org/bugtraq/2005/Mar/39

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

Plugin Details

Severity: Medium

ID: 17247

File Name: phpnews_remote_includes.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 3/2/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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: 3/1/2005

Reference Information

CVE: CVE-2005-0632

BID: 12696