SilverNews < 2.0.4 Multiple Vulnerabilities

high Nessus Plugin ID 19398

Synopsis

The remote web server contains a PHP application that is affected by multiple flaws.

Description

The remote host is running SilverNews, a free news script written in PHP.

The version of SilverNews installed on the remote host suffers from several flaws :

- SQL Injection Vulnerability The application does not sanitize user-supplied input to the 'username' parameter of the 'admin.php' script before using it in database queries. By exploiting this flaw, an attacker can bypass authentication and possibly disclose or modify data or launch attacks against the underlying database.

- Arbitrary PHP Code Execution Vulnerability The application allows administrators to edit template files, which may contain HTML as well as PHP code to be used, for example, as footers with dynamically-generated pages. In conjunction with the SQL injection flaw noted above, an attacker can exploit this issue to execute arbitrary PHP code on the remote host within the context of the web server userid.

Solution

It is believed that the issues are resolved in SilverNews 2.0.4 or later.

See Also

http://www.retrogod.altervista.org/silvernews.html

https://seclists.org/bugtraq/2005/Aug/44

Plugin Details

Severity: High

ID: 19398

File Name: silvernews_204.nasl

Version: 1.29

Type: remote

Family: CGI abuses

Published: 8/8/2005

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:silver-scripts:silvernews

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/3/2005

Reference Information

CVE: CVE-2005-2478

BID: 14466