CGI Generic SQL Injection (blind, time based)

high Nessus Plugin ID 43160

Synopsis

A CGI application hosted on the remote web server is potentially prone to SQL injection attack.

Description

By sending specially crafted parameters to one or more CGI scripts hosted on the remote web server, Nessus was able to get a slower response, which suggests that it may have been able to modify the behavior of the application and directly access the underlying database.

An attacker may be able to exploit this issue to bypass authentication, read confidential data, modify the remote database, or even take control of the remote operating system.

Solution

Modify the affected CGI scripts so that they properly escape arguments.

See Also

http://www.securiteam.com/securityreviews/5DP0N1P76E.html

http://projects.webappsec.org/w/page/13246963/SQL%20Injection

http://www.nessus.org/u?ed792cf5

Plugin Details

Severity: High

ID: 43160

File Name: torture_cgi_blind_sql_injection2.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 12/14/2009

Updated: 6/14/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

Required KB Items: Settings/enable_web_app_tests

Reference Information

CWE: 20, 713, 722, 727, 751, 77, 801, 810, 89, 928, 929