Zen Cart ipn_main_handler.php custom SQL Injection

high Nessus Plugin ID 22233

Synopsis

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

Description

The version of Zen Cart installed on the remote host fails to properly sanitize input to the 'custom' parameter of the 'ipn_main_handler.php' script before using it in a database query. Provided PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated attacker may be able to exploit this issue to uncover sensitive information such as password hashes, modify data, launch attacks against the underlying database, etc.

Solution

Apply the security patches listed in the vendor advisory.

See Also

http://www.gulftech.org/?node=research&article_id=00109-08152006

https://www.zen-cart.com/showthread.php?43579-Security-Patches-for-v1-3-0x

Plugin Details

Severity: High

ID: 22233

File Name: zencart_custom_sql_injection.nasl

Version: 1.23

Type: remote

Family: CGI abuses

Published: 8/17/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

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:zen-cart:zen_cart

Required KB Items: www/zencart

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 8/15/2006

Reference Information

CVE: CVE-2006-4214

BID: 19542