osCommerce Customer Testimonials customer_testimonials.php testimonial_id Parameter SQL Injection

high Nessus Plugin ID 31051

Synopsis

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

Description

The remote host is running Customer Testimonials, a third-party addon for the open source e-commerce system osCommerce.

The version of Customer Testimonials installed on the remote host fails to sanitize user input to the 'testimonial_id' parameter of the 'customer_testimonials.php' script before using it to construct a database query. Regardless of PHP's 'magic_quotes_gpc' setting, an unauthenticated 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: 31051

File Name: oscommerce_testimonial_id_sql_injection.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 2/13/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

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:oscommerce:customer_testimonials

Required KB Items: www/oscommerce

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2008-0719

BID: 27664

CWE: 89

SECUNIA: 28831