Web Application Hacking.

Web Security

The internet and the associated websites are effectively the front door to nearly every modern service. Web applications control access to company data, personal information, critical infrastructure, security systems, network appliances, IoT devices, and much, MUCH more. A significant number of breaches today involve a web app or web service somewhere in the chain.

Challenges
Multiple Choice

Which language runs in your browser to make a web page interactive (e.g., responding to button clicks)?

✓ Solved!
Multiple Choice

On the front end, what is HTML primarily responsible for?

✓ Solved!
Multiple Choice

Where does back-end code typically run?

✓ Solved!
Multiple Choice

When a website needs to store and retrieve information like user accounts, what does the back end usually talk to?

✓ Solved!
Multiple Choice

A page inserts user input directly into the DOM with element.innerHTML. An attacker submits <img src=x onerror=alert(1)>. What class of vulnerability does this enable?

✓ Solved!
Multiple Choice

Why is client-side JavaScript validation alone insufficient for security (e.g., enforcing a price or hiding an admin check in the browser)?

✓ Solved!
Flag Challenge

Web servers often host files that are not linked anywhere on the site but are still publicly accessible. This well-known file tells search engine crawlers where they can and cannot go. Find it on this site and submit the flag hidden inside.

✓ Solved!
Flag Challenge

Most web pages send code to your browser to run, and you can inspect everything it does. This page runs some JavaScript that leaves a message behind the scenes. What secret does the JS have for you?

✓ Solved!
Flag Challenge

The JavaScript that is responsible for the last flag has some extra fun. Read the source and recover the password that unlocks the flag. What PASSWORD (not flag) should be used to expose the flag?

✓ Solved!
Flag Challenge

This page loads a user profile from a JSON API. There is a special user that may have something special for you... Go get the secret flag from that user profile!

✓ Solved!

For More Information

PortSwigger

PortSwigger provides a variety of resources for learning about web application security. The Web Security Academy is a great place to start for learning about web security and the various vulnerabilities that can be found in web applications. The Burp Suite is a great tool also released by PortSwigger used for testing web applications.

Visit →

OWASP

OWASP maintains various projects related to web application security. The OWASP Top 10 is a great place to start for learning about the most common vulnerabilities found in web applications. The OWASP Juice Shop is a vulnerable web application that can be used to practice finding and exploiting vulnerabilities.

Visit →