
Burpsuiteを起動する手間を省けます...
# It's strongly recommended to use the virtual environment)
pip3 install baseproxy
# python3.10 will raise an AttributeError if the version of pyOpenSSL(downloaded with baseproxy) is too low. Reinstalling the latest version will fix it.
pip3 uninstall pyOpenSSL
pip3 install pyOpenSSL
# run
python3 Sophos-poc.py
docker pull keithdockerhub/cve-2022-1040:latest # or build yourself
docker run -it -p 8788:8788 keithdockerhub/cve-2022-1040:latest
原理はBurp Suiteと同じです。
HTTPS MITM(man in the middle)を設定し、特定のPOSTリクエストのHTTPボディを変更することで、認証なしでSophos FirewallのWeb管理画面にアクセスできるようにします。
違法な目的で使用しないでください。
https://github.com/qiyeboy/BaseProxy
https://github.com/APTIRAN/CVE-2022-1040