
Exploiting Flask Vulnerabilities Using In-Memory Trojan Techniques
WebSecurity
The article discusses the exploitation of vulnerabilities in Flask, a Python web framework, using "in-memory Trojan" techniques (内存马). It explains how to transform a remote code execution (RCE) without feedback into an RCE with feedback by exploiting the source code of the new version of Flask. The technical details include an in-depth analysis of Flask's source code to create exploits compatible with the new versions. The main impact is the ability to obtain feedback after executing arbitrary code, which facilitates the exploitation and persistence of attacks.