People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
load_datasources, the code takes a project_path before saving them. This path was never sanitized when it was downloaded for AI model processing (written in Python), so it can climb up the folder structure for the AI models to access the file. This allowed it to climb up the folder structure so the AI models could access the file. site-packages can be traversed into with Python code on the module search path. The file write is awesome but NOT code execution by itself. While reviewing the application some more, they found the endpoint /visualize that loads a serialized object called pickle in Python. They used this to get RCE on the server but it was blind because of server restrictions. So the pickle file had to send an HTTP request with information like EC2 instance metadata.