This year I contributed 2 challenges to bi0s CTF (formerly InCTF Internationals).
In this post, we discuss the intended solution to PyCGI challenge. The source code of this challenge can be downloaded from here.
#
Analysis
We are provided with 2 attachments for this challenge:
- Dockerfile
- Nginx.conf
Looking into the Nginx configuration, we can find that there is a potential path traversal in the /static endpoint. You can read more about this here.
