Http Sql Missing Validations Error Message

Description

This detector identifies SQL injection vulnerabilities by testing URL parameters with safe payloads and analyzing server responses for database error messages. When a web application fails to properly validate input parameters and exposes SQL error messages, it indicates a potential missing validation vulnerability that could allow attackers to manipulate database queries and access sensitive data.

Weakness:

239 - Technical information leak - Errors

Category: Information Collection

Detection Strategy

    The detector extracts all query parameters from the target URL

    Each parameter is individually replaced with a SQL injection test payload

    HTTP requests are sent to the modified URLs with the test payloads

    Server responses are examined for SQL error message patterns (database error strings, syntax errors, etc.)

    A vulnerability is reported when any response contains recognizable SQL error messages, indicating the application is not validating the input correctly