This is a simple Golang Web App that contains an example of a Sensitive Data Exposure vulnerability.
Definition from OWASP:
Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes. Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser.
To build this lab you will need Docker and Docker Compose.
After cloning this repository, you can type the following command to start the vulnerable application:
$ make install
Then simply visit localhost:10033/login !
To understand how this vulnerability can be exploited, check this section!
(Spoiler alert 🧐) To understand how this vulnerability can be mitigated, check this other section!
Yes, please. ⚡