Excessive Data Exposure
Welcome folks, This blog will be a quick review about:
What is Excessive Data Exposure.
How to hunt for it.
Resources about the vulnerability.
What is Excessive Data Exposure:
Excessive Data Exposure is much like normal Information-Disclosure vulnerability except here the data returned in JSON format. The vulnerability represented in that the API returns more information for a request that than is needed in hope that the client will filter these data. For example, Consider that you're dealing with an API and there's a request that retrieves information once you logged in the website like the following:
Then you receive a response like the following:
Here the API didn't just respond with our information but also returned the representative's sensitive information like (email, phone, 2fa). Another example, Consider that there's a website provides the ability to comment on published blogs in the website but once you visit a blog the following request initiated:
After reviewing the response you surprised with that the API returned a detailed information about the comments producers like the following:
How to hunt for it:
You just need use the application as intended and use each functions in the website as well while using your Burpsuite/ZAP enabled, After that you can Check the responses of the requests that initiated to the API. You can configure your burpsuite to just viewing JSON formatted responses to make it easier for hunting by heading to (Filter Settings) and click on (Show Only) then enter json like:
Resources about the vulnerability:
Hacking APIs book.
I hope if that could help even a little bit, If you've a question you can ask me at:
Last updated