Gregarius ajax.php rsargs[] Parameter Array SQL Injection

high Nessus Plugin ID 33761

Synopsis

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

Description

The remote host is running Gregarius, a web-based RSS / RDF / ATOM feed aggregator written in PHP.

The version of Gregarius installed on the remote host fails to sanitize user-supplied input to the 'rsargs' parameter array of the 'ajax.php' script before using it in a database query. An unauthenticated attacker may be able to exploit this issue to manipulate database queries to disclose sensitive information such as the 'users' table with password hashes, attack the underlying database, etc.

Solution

Upgrade to Gregarius 0.6.0 or later.

See Also

http://www.nessus.org/u?3626c1b7

https://www.securityfocus.com/archive/1/494866/30/0/threaded

http://www.nessus.org/u?b82462e0

http://www.nessus.org/u?81a85b6d

Plugin Details

Severity: High

ID: 33761

File Name: gregarius_rsargs_sql_injection.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 7/29/2008

Updated: 4/11/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: 5.9

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

Vulnerability Information

CPE: cpe:/a:gregarius:gregarius

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2008-3374

BID: 30423

CWE: 89

SECUNIA: 31260