Plogger plog-rss.php id Parameter SQL Injection

high Nessus Plugin ID 29746

Synopsis

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

Description

The remote host appears to be running Plogger, an open source photo gallery written in PHP.

The version of Plogger installed on the remote host fails to sanitize input to the 'id' parameter of the 'plog-rss.php' script before using it in a database query. Regardless of PHP's 'magic_quotes_gpc' and 'register_globals' settings, an attacker may be able to exploit this issue to manipulate database queries, leading to disclosure of sensitive information, modification of data, or attacks against the underlying database.

Solution

Upgrade to Plogger 1.0 beta 3.0 if necessary and apply change set 489.

See Also

http://www.nessus.org/u?106be9e9

http://www.nessus.org/u?942daa07

Plugin Details

Severity: High

ID: 29746

File Name: plogger_id_sql_injection.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 12/23/2007

Updated: 4/7/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2007-6587

BID: 26958

CWE: 89