Chemistry
- CIF File upload
- CVE-2024-23346 to run a python script flaw in the pymatgen library cve
- Get a reverse shell to our machine
netstat -tunlp | grep LISTEN-> A localhost server is running on port 8080curl -I localhost:8080-> An AIOHTTP/3.9.1 server is running here- CVE-2024-23334 github bash cript
- This script does not give us any output as the
staticfolder might not be same in our target machine curl localhost:8080-
Reading through the request, we can see it is fetching data from the
assetsfolder. -
Modify the github exploit to use
assetsas the payload instead ofstatic. Run the bash exploit again to get the /root/root.txt flag.