LAB 240 - Defending Java Applications Against eXternal XML Entity (XXE) Vulnerabilities
This lab simulates a Weak File Upload Validation vulnerability found in the LetSee Cyber Range. The challenge includes a Web App developed in Java that fails to implement the security principle of “Validate all Untrusted Input Before Using”.
Using Visual Studio Code, participants will analyze code to identify and mitigate instances of “Failure to validate input in file upload”. The objective of this lab is to find the vulnerable code and fix the weakness.
Upon completion of this lab participants will:
- Apply strategic principles to keep Java applications safe
- Demonstrate the skills needed to discover XXE attacks
- Fix XXE vulnerabilities in Java