CriticalCVE-2019-15107

    Webmin Command Injection Vulnerability (CVE-2019-15107)

    Published Last modified In CISA KEV since Sources: CVE.org

    What is affected, what to do

    An attacker can achieve full control over a system by exploiting a command injection vulnerability in Webmin versions up to 1.920. The vulnerability lies in the `password_change.cgi` script, where the `old` parameter can be manipulated. This vulnerability is actively exploited in ransomware campaigns since its inclusion in the CISA KEV in 2022. Affected organizations should urgently upgrade to the latest version of Webmin to mitigate the risk. The high exploit maturity highlights the urgency of this response.

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. The available sources name no fixed version. Check the vendor guidance in the references below. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Webmin lte *..1.920

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    9.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    9.8

    CVSS v3

    Severity Critical on the scale from 0 to 10.

    Source: CVE.org

    99.71 %

    EPSS score

    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.

    Source: FIRST EPSS, percentile 99.95

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    253.92 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploited
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    9.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    9.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    99.71 %
    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.95
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This flaw is network-reachable without authentication or user interaction and yields direct code execution as root. Public exploits and scanner modules have circulated for years, and it ranks among the CVEs most likely to be exploited. CISA flags known use in ransomware campaigns, and botnets and cryptominers also exploit it opportunistically at scale. Typical targets are internet-facing Linux servers, hosting environments and appliances that bundle Webmin. Score any externally reachable instance at ≤ 1.920 as critical and presume it compromised until proven otherwise; handle internally segmented instances with high priority within the emergency patch window.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory: Find every Webmin instance, including those on appliances, hosting panels and forgotten admin VMs. Scan for the default port 10000/tcp (HTTP/HTTPS, MiniServ banner) and check locally via /etc/webmin/version, rpm -q webmin or dpkg -l webmin. All versions ≤ 1.920 are affected.
      • Patch: Upgrade to a Webmin release above 1.920; confirm the exact fixed version in the vendor advisory. Install only from the official Webmin repository with signature verification. The flaw originated in a compromise of the build infrastructure, so verify package provenance before installing.
      • Isolate if you cannot patch now: Block 10000/tcp at perimeter and internal firewalls for all sources except a dedicated admin jump host. Internet-facing instances come first – this is not a "patch at the weekend" item.
      • Disable the vulnerable feature: In /etc/webmin/miniserv.conf, set passwd_mode to 0. This turns off expired-password changes, which is the code path that reaches password_change.cgi. Then restart Webmin (systemctl restart webmin or /etc/webmin/restart).
      • Compromise assessment: Treat any instance that was reachable before mitigation as potentially compromised, because Webmin runs as root. Review miniserv.log, cron jobs, authorized_keys, and any new users or services. If you find indicators, rebuild the host rather than cleaning it, and rotate every credential stored on it (SSH keys, database and service accounts).
      • Rotate credentials: Reset Webmin admin and root passwords on affected hosts, even without evidence of compromise.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: Run Webmin only on a management VLAN, reachable solely via a bastion host or an MFA-protected VPN. Apply default-deny for 10000/tcp from user, DMZ and internet zones.
      • Application configuration: Restrict the allow= directive in miniserv.conf to admin IPs, so the web server itself enforces an IP allowlist. Keep referers_none=1 and remove unused modules.
      • WAF/IPS: Block POSTs to /password_change.cgi where old (or new1/new2) contains shell metacharacters such as |, ;, `, $( or &&. Example Suricata rule idea: http.uri; content:"/password_change.cgi"; http.request_body; pcre:"/old=[^&]*(%7c|\||%3b|;|%60||$()/i";`. Enable the vendor IPS signatures for Webmin RCE and set them to blocking mode.
      • Endpoint hardening: Use EDR policy or AppArmor/SELinux to stop the miniserv.pl Perl process from spawning shells, curl, wget, nc or python. Restrict egress from Webmin hosts to required update endpoints only.
      • Retire where possible: If Webmin is not essential, disable it (systemctl disable --now webmin) and administer the host via key-based SSH. This removes the attack surface permanently.
    3. Runbook step 3

      Detection rules

      • Web server log (/var/webmin/miniserv.log): Look for POSTs to /password_change.cgi, especially with a /session_login.cgi referer from external sources. SPL example: index=linux sourcetype=webmin uri="/password_change.cgi" method=POST | stats count by src_ip. Treat any hit from a non-admin network as an incident.
      • Network telemetry (Zeek/Suricata): Filter http.log for uri == "/password_change.cgi" on port 10000. Where TLS is terminated, inspect the request body for old= containing URL-encoded pipes (%7c) or semicolons (%3b).
      • Process ancestry (EDR/Sysmon for Linux EID 1): Flag a perl/miniserv.pl parent spawning sh, bash, dash, curl, wget, nc, python*, base64 or chmod. Sigma shape: ParentCommandLine|contains: 'miniserv' AND Image|endswith: ['/sh','/bash','/curl','/wget','/nc'].
      • auditd: Add -a always,exit -F arch=b64 -S execve -F uid=0 -k webmin_exec, then filter for execve events whose ppid belongs to the miniserv process. Also add -w /etc/webmin/ -p wa -k webmin_cfg to catch configuration tampering.
      • Post-exploitation: Watch for new entries in /etc/crontab, /var/spool/cron/ and ~root/.ssh/authorized_keys, and for outbound connections from the Webmin host to unfamiliar IPs (cryptominers, botnet C2, ransomware staging).

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    An issue was discovered in Webmin <=1.920. The parameter old in password_change.cgi contains a command injection vulnerability.

    Source: CISA KEV Catalog, cvelistv5, NVD (NIST)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    webminwebmin
    • ≤ 1.920
    • —

    Vendors and products

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    Packet StormWebmin 1.920 Remote Command Execution (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—
    Packet StormWebmin Remote Comman Execution (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—
    Packet StormWebmin 1.920 password_change.cgi Backdoor (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—
    Packet StormWebmin 1.920 Remote Code Execution (opens in a new tab)packetstormsecurity.comPoC (publicly reported)reported, not verified—
    Exploit-DBEDB-ID 47230 (opens in a new tab)exploit-db.comPoC (publicly reported)reported, not verified—
    PoC-in-GitHub (nomi-sec)vulhub-webmin-cve-2019-15107 (opens in a new tab)github.comPoC (publicly reported)reported, not verified

    References & sources

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. Record modifiedCISA ADP

      CISA assessment (SSVC): exploitation: active, automatable: yes

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      SSVC assessmentchanged
      {"id":"CVE-2019-15107","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-05T20:29:55.177689Z"}
      {"id":"CVE-2019-15107","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2022-03-11T00:00:00+00:00"}

      Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0

    2. Record modifiedCISA ADP

      CISA assessment (SSVC): exploitation: active, automatable: yes

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      SSVC assessmentchanged
      {"id":"CVE-2019-15107","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"slow"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2022-03-11T00:00:00+00:00"}
      {"id":"CVE-2019-15107","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-08-05T20:29:55.177689Z"}

      Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2019-15107
    <a href="https://intel.neosec.eu/en/cve/CVE-2019-15107"><img src="https://intel.neosec.eu/badge/cve/CVE-2019-15107.svg?lang=en" alt="CVE-2019-15107 – NEOSEC Intel" height="20"></a>