Pixelpost index.php category Parameter SQL Injection

medium Nessus Plugin ID 21645

Synopsis

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

Description

The remote host is running Pixelpost, a photo blog application based on PHP and MySQL.

The version of Pixelpost installed on the remote fails to sanitize user-supplied input to the 'category' parameter of the 'index.php' script before using it to construct database queries. Provided PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated attacker can exploit this flaw to manipulate database queries and, for example, uncover the administrator's username and password hash, which can later be used to gain administrative access to the affected application.

In addition, Pixelpost reportedly suffers from a similar issue involving the 'archivedate' parameter of the 'index.php' script, although Nessus has not checked for it.

Solution

Apply the patches listed in the vendor forum post referenced above.

See Also

https://www.securityfocus.com/archive/1/435856/30/60/threaded

http://www.nessus.org/u?8952247d

Plugin Details

Severity: Medium

ID: 21645

File Name: pixelpost_category_sql_injection.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 6/6/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.4

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

Vulnerability Information

CPE: cpe:/a:pixelpost:pixelpost

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 6/3/2006

Reference Information

CVE: CVE-2006-2889

BID: 18276