Original description
Webmin through 2.670 contains an OS command injection vulnerability in ldap-client/check.cgi that allows LDAP directory writers to execute commands via unquoted uid values. Attackers can create a posixAccount entry with shell metacharacters in its uid, executing commands as root when an administrator runs Check Configuration.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- Administrator
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- github.com/webmin/webmin/commit/ada632465f6290ca4ebfe9e3407f1963ce7b5862 patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/ldap-client/check.cgi#L103-L104
- github.com/webmin/webmin/blob/2.670/ldap-client/check.cgi#L98
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-ldap-client-che
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.