Zenphoto rss.php albumnr Parameter SQL Injection

high Nessus Plugin ID 29832

Synopsis

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

Description

The version of Zenphoto installed on the remote host fails to sanitize input to the 'albumnr' parameter of the '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

Unknown at this time.

Plugin Details

Severity: High

ID: 29832

File Name: zenphoto_albumnr_sql_injection.nasl

Version: 1.23

Type: remote

Family: CGI abuses

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

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

Vulnerability Information

CPE: cpe:/a:zenphoto:zenphoto

Required KB Items: www/zenphoto

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2007-6666

BID: 27084

CWE: 89