JSON Attack
Last updated
Last updated
Add \ud888
Add a callback parameter to a JSON URL, by appending ?callback=something
to the URL.
When a format type is provided, change it to JSONP. Change ?format=json
to ?format=jsonp
.
Json file
Add a query parameter of callback like this
If the endpoint has JSONP enabled it will create an object with the name of call_me and all the data will be inside that object like this.
Exploitation: create a .html file which will extract the data and store it on your desired server. You just have to send the URL to the victim
On your own server
Exfiltration
The go-to manual for web app pentesters. Covers XSS, SQLi, logic flaws, and more
Learn how to perform reconnaissance on a target, how to identify vulnerabilities, and how to exploit them
Learn about the most common types of bugs like cross-site scripting, insecure direct object references, and server-side request forgery.