IP Address: 172.25.200.200

Port: 9051

image.png

Want to run this Docker container locally?

docker run -d --restart always --name flag-red70 -p 9051:80 joshbeck2024/ctf-php-filter-chain-lesson-flag-red70:latest

Encountering a Local File Inclusion (LFI) vulnerability often comes with a catch: you can point the server to a file, but the application doesn't actually display the contents of that file back to you. This is known as Blind LFI.

Click on the ‘View Source Code’ button.

image.png

We can test this. We know the flag is in /flag/flag.txt

http://IP_OF_TARGET:9051?page=/flag/flag.txt

image.png

The Bad News:

The Good News:

The error-based technique: Can we crash the server?