字号·· | 护眼
漏洞档案 · 严重

Webmin 命令注入(CVE-2019-15107)

CVE-2019-15107 别名:GHSA-69HP-HRV4-RXRR
CVSS 9.8 / 3.1 EPSS 99.7% CISA KEV 在野利用 勒索软件利用 公开 PoC · 43 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS99.7%30 天利用概率
机构收录时间2019-08-16更新 2026-12-01

研判简报

概述

Webmin 1.920 及更早版本的 password_change.cgi 中,old 参数存在命令注入漏洞(CWE-78),攻击者无需认证即可经 HTTP 请求注入并执行系统命令。官方描述仅说明该注入点,未给出利用前置条件的技术细节;参考材料的 Metasploit 模块说明称成功利用后可取得 root 权限。该漏洞已列入 CISA KEV,并存在勒索软件利用记录,说明它仍在野被使用;任何对外开放 Webmin 管理界面的资产都应关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100,属 critical。EPSS 30 天利用概率 99.7%(百分位 100.0%,日期 2026-11-24)。攻击面为面向网络的 Webmin 密码修改接口:请求中的注入点无需认证。

利用状态

核查日期 2026-11-24:CISA KEV 已收录(入库 2022-03-25),KEV 要求动作“Apply updates per vendor instructions.”,期限 2022-04-15;记录标明存在已知勒索软件利用;已有公开 Nuclei 模板(http/cves/2019/CVE-2019-15107.yaml);Exploit-DB/公开 PoC 共 43 条;CISA SSVC:automatable=yes、exploitation=active、technical_impact=total。ATT&CK 映射 T1059 命令与脚本解释器、T1190 利用面向公众的应用。

受影响产品

受影响版本为 webmin:webmin <= 1.920,问题组件为 password_change.cgi 中的 old 参数。具体部署形态,官方记录未给出。参考材料另称:Webmin 1.890 在默认配置下即可被利用,其他受影响版本需要启用“user password change”选项;该前置条件来自参考材料,官方记录未述及。

修复版本

官方记录未给出修复版本号,材料未给出厂商公告的具体修复说明。参考材料的 Nuclei 模板 remediation 字段建议升级至 Webmin 1.930 或更高;该版本号来自参考材料,并非官方记录。另有出入需注意:同一参考材料的 Metasploit 模块标题写作“Webmin 1.882 <= 1921”,与官方“<=1.920”不一致,应以官方记录为准。

缓解措施

无法立即升级时,可移除或限制对 password_change.cgi 的访问,只在受控管理网段暴露 Webmin,并在边界阻断对该路径的可疑 POST 请求。参考材料显示,密码修改功能与 passwd_mode 配置相关(模块内检查 $miniserv{'passwd_mode'} == 2 才继续),关闭该功能可缩小暴露面,但材料未给出配置操作的官方步骤。其余官方缓解指引,材料未给出。

响应步骤

  1. 清点暴露在互联网或非受信网络的 Webmin 实例,确认版本是否 <=1.920。
  2. 检索 Web 访问日志中对 /password_change.cgi 的 POST 请求,重点看 old 参数是否含管道符等命令拼接特征;Nuclei 模板的验证载荷为 old=test|cat /etc/passwd。
  3. 检查主机侧异常子进程、Webmin 进程派生的 shell 及异常外联,并结合 KEV 已知勒索软件利用记录评估是否已遭入侵。
  4. 按厂商指引升级到已修复版本;参考材料建议 1.930 或更高,官方记录未给出具体版本,升级前需核对厂商安全公告。
  5. 无法升级时,立即限制管理端口访问并禁用密码修改功能,同时补充检测规则。
  6. 记录处置结果,并按 KEV 要求跟踪整改闭环。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2019-15107kev
  2. https://www.exploit-db.com/exploits/47230exploit,exploitdb,x_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third
  3. https://www.exploit-db.com/exploits/47293exploit,exploitdb
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-15107.yamlexploit,nuclei
  5. http://www.webmin.com/security.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Vendor Advisory,advisory,euvd
  6. http://www.pentest.com.tr/exploits/DEFCON-Webmin-1920-Unauthenticated-Remote-Command-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,adv
  7. http://packetstormsecurity.com/files/154141/Webmin-Remote-Comman-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,VDB
  8. http://packetstormsecurity.com/files/154141/Webmin-1.920-Remote-Command-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,VDB
  9. http://packetstormsecurity.com/files/154197/Webmin-1.920-password_change.cgi-Backdoor.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,VDB
  10. http://packetstormsecurity.com/files/154485/Webmin-1.920-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,VDB Entry,a
  11. https://attackerkb.com/topics/hxx3zmiCkR/webmin-password-change-cgi-command-injectionx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,advisory,eu
  12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-15107government-resource
  13. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/webmin_backdoorexploit,metasploit
  14. https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-6178advisory,euvd
  15. https://www.f5.com/labs/articles/threat-intelligence/echobot-malware-now-up-to-71-exploits--targeting-scadakev
  16. https://blog.sonicwall.com/en-us/2019/12/top-cves-exploited-in-the-wild-in-the-year-2019/kev