Hacking Web APIs
Hacking Web APIs
1)
I mean have
No sir.
you gotten any insight as
He says he does this
to why a bright guy like this
sort of thing for fun.
would hack some vulnerable
Web APIs?
- Matt Scheurer
What
AboutI do...
Me
I work for a big well-known I am also a Podcast Host for
organization...
S||
||
As Vice President (VP) of
https://threatreel.com
Computer Security and Incident
Connect / Contact / Follow Matt:
Response (IR). However, I have
many years of hands-on
https://www.linkedin.com/in/mattscheurer
technical experience, including
Digital Forensics & Incident
https://twitter.com/c3rkah
Response (DFIR).
Where I volunteer...
I am an Official
As a Sr.
Systems Security Engineer
Demo 1 / 6
Scenario:
I work here:
Information Disclosure
Objective: Try to get stacktrace information.
As a Sr.
Systems Security Engineer
Insecure Direct Object Reference
●
IDOR Risks
I work here:
As a Sr.
Systems Security Engineer
OWASP Mappings
●
OWASP Top 10
I work here:
As a Sr.
Systems Security Engineer
Demo 2 / 6
Scenario: Insecure Direct Object Reference (IDOR)
I work here:
As a Sr.
Systems Security Engineer
Access Control
●
Risks
I work here:
As a Sr.
Systems Security Engineer
Demo 3 / 6
Scenario: Access Control
I work here:
As a Sr.
Systems Security Engineer
Throttling
●
Risks
I work here:
As a Sr.
Systems Security Engineer
MITRE ATT&CK Mappings
●
MITRE ATT&CK
I work here:
As a Sr.
Systems Security Engineer
Demo 4 / 6
Scenario: Throttling (a.k.a. Rate Limit Implementation)
I work here:
– A03:2021 - Injection
As a Sr.
Systems Security Engineer
Demo 5 / 6
Scenario: SQL Injection (a.k.a. "SQLi")
I work here:
As a Sr.
Systems Security Engineer
Cross Site Scripting
●
Cross Site Scripting (XSS) Risks
I work here:
– A03:2021 - Injection
As a Sr.
Systems Security Engineer
Demo 6 / 6
Scenario: Cross Site Scripting (XSS)
I work here:
As a Sr.
Systems Security Engineer
Trending API Risks
●
Accidentally/Publicly exposed APIs
– Allows for direct API access
– Circumvents front-end web & web app security
●
Shadow APIs
– Deployed outside of standards and controls
Reducing these risks
●
Recommendations
– Adopting a secure development life cycle
●
Having a security champion on each dev team
●
Testing as early in the SDLC process as possible
– Adhering to the Principle of Least Privilege
– OWASP resources
●
https://owasp.org/
Questions
Who?
What? 8
When?
Where?
1
Why? 01
010
How?
Hacking Web APIs (v1.1)
I mean have
No sir.
you gotten any insight as
He says he does this
to why a bright guy like this
sort of thing for fun.
would hack some vulnerable
Web APIs?