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.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
http://www.webmin.com/security.html | vendor advisory |
https://github.com/webmin/webmin/commit/0c58892732ee7610a7abba5507614366d382c9c9 | third party advisory patch |
https://blogs.securiteam.com/index.php/archives/3430 | third party advisory exploit |
http://www.webmin.com/changes.html | release notes vendor advisory |