Scenario
Khalid has just logged onto a host that he and his team use as a testing host for many different purposes, it’s off their corporate network but has access to lots
Rated Medium by HackTheBox and created by TheCyberGeek. Through this machine, we learn about the importance of sanitising inputs, having proper password management and policies, proper privilege segmentation and proper directory permissions.
Rated Easy by HackTheBox and created by ejedev, we discover XML External Entity (XXE) and Python eval() function vulnerabilities.
Rated Easy from HackTheBox, created by InfoSecJack. We learn about keeping sensitive information on webservers and dangers of Python's SETUID Capabilities.
Vulnerabilities/bad configurations exploited
1. XSS in Moodle LMS to steal Teacher session.
2. Moodle LMS privilege escalation from Teacher role to Manager role
(CVE-2020-14321).
3. Weak password/password re-use
4. User sudo