Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Web App Bug Hunting Tips - 2 - JSON Parsing Issues

JSON Parsing is a very complex concept and it's very hard to get right for many, tens of hundreds of different JSON parsers exist and each treat JSON slightly differently then the other. By using differential fuzzing you can try payloads across various parsers and get different results for each one. So you also must be wondering well from a web app perspective why should I care about JSON parsing? Well you should care because it can cause these major issues in web applications:

- RCE
- DoS(Denial Of Service)
- Privilege Escalation

Here are some videos and different materials on this subject:

https://www.youtube.com/watch?v=B598kLov...e=youtu.be
http://seriot.ch/parsing_json.php
https://justi.cz/security/2017/11/14/cou...e-npm.html

As you can see a CoachDB RCE was found simply because there was an issue in how the JSON parser parsed user input.

You also must be wondering, well how can I start finding JSON Parsing related exploits?

Simply code up a JSON fuzzer that attacks different parsers, simply install random ones on localhost and hope one you find one with weird inconsistencies and then attempt to utilize the issues found via localhost JSON fuzzing on the production web app and hopefully you can leverage it into an RCE. Hope you guys enjoyed this tip and happy bug bounting!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by bl1ndm0nkApr 3, 2026 09:25 AM 2 171 Apr 3, 2026 09:25 AM
Last Post: asif2034
by Mr8nOct 22, 2018 11:39 AM 2 189 Oct 22, 2018 11:39 AM
Last Post: SlowMehMo
by spaceisamanJun 2, 2018 11:48 AM 0 108 Jun 2, 2018 11:48 AM
Last Post: spaceisaman