Challenges
Last updated
Last updated
Depending on which OS the application is running, we can find different paths. For instance, if the application is running on the Windows server, we can for sure expect that there will be an available file in location C:/Windows/System32/drivers/etc/hosts
. On the other hand, if the app is running on Linux, then we can expect that file /etc/passwd
exists.
If you visit the transaction page, you will be able to see a form where you can upload transactions. This form requires an XML file format. If we upload a simple XXE sample, we will be able to see the output of specified paths.
If you are trying to get C:/Windows/System32/drivers/etc/hosts
:
If you are trying to get etc/passwd
:
You will find the flag in the response header.