SiteX photo.php albumid Parameter SQL Injection

high Nessus Plugin ID 45360

Synopsis

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

Description

The version of SiteX hosted on the remote web server fails to sanitize input to the 'albumid' parameter of the 'photo.php' script before using it in a database query.

Provided PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated, remote attacker can leverage this issue to manipulate SQL queries and, for example, uncover sensitive information from the associated database, read arbitrary files, or execute arbitrary PHP code.

Solution

Unknown at this time.

Plugin Details

Severity: High

ID: 45360

File Name: sitex_albumid_sqli.nasl

Version: 1.15

Type: remote

Family: CGI abuses

Published: 3/26/2010

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

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 3/25/2010

Reference Information

CVE: CVE-2010-1343

BID: 38976