Improper Error Handling
Check List
Methodology
Black Box
Improper Error Handling Leading to Information Disclosure
1
2
GET /api/v1/login?user=admin'-- HTTP/1.1
Host: example.com3
{
"error": "SQL syntax error in users_db at 10.0.0.1",
"query": "SELECT * FROM users WHERE username = 'admin'--'"
}4
5
6
Information Disclosure via Improper Error Handling
1
GET /product?productId=1 HTTP/1.1
Host: example.com2
3
GET /product?productId=test HTTP/1.1
Host: example.com4
5
6
White Box
Cheat Sheet
Last updated