Stack Traces
Check List
Methodology
Black Box
Verbose Error Disclosure via Malformed JSON
1
POST /api/login HTTP/1.1
Host: target.com
Content-Type: application/json
{"username":"admin","password":}2
TypeError: Cannot read property 'password' of undefined
at AuthController.login (/var/www/app/controllers/AuthController.js:47:15)
at processTicksAndRejections (internal/process/task_queues.js:93:5)3
SQL Error Trigger
1
2
GET /api/products?id=' HTTP/1.1
Host: target.com3
SQLSTATE[42000]: Syntax error or access violation
in /var/www/app/models/ProductModel.php on line 884
5
Invalid HTTP Method Handling
1
TRACE /api/user/profile HTTP/1.1
Host: target.com2
Unhandled Exception: MethodNotAllowedException
at Router.handle (/app/core/router.js:102)3
4
Parameter Type Mismatch
1
GET /api/users/abc HTTP/1.1
Host: target.com2
NumberFormatException: For input string: "abc"
at java.lang.Integer.parseInt(Integer.java:580)
at com.app.UserController.getUser(UserController.java:63)3
4
White Box
Cheat Sheet
Last updated