XSS in Webmin
CVE-2017-15646
Webmin before 1.860 has XSS with resultant remote code execution. Under the 'Others/File Manager' menu, there is a 'Download from remote URL' option to download a file from a remote server. After setting up a malicious server, one can wait for a file download request and then send an XSS payload that will lead to Remote Code Execution, as demonstrated by an OS command in the value attribute of a name='cmd' input element.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.048, 92.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.webmin.com/security.html (Vendor Advisory)
- github.com/webmin/webmin/commit/0c58892732ee7610a7abba5507614366d382c9c9 (Patch, Third Party Advisory)
- blogs.securiteam.com/index.php/archives/3430 (Exploit, Third Party Advisory)
- www.webmin.com/changes.html (Release Notes, Vendor Advisory)