SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Webmin Vendors:   Cameron, Jamie
Webmin Multiple Input Validation Bugs Let Remote Users Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1038814
SecurityTracker URL:  http://securitytracker.com/id/1038814
CVE Reference:   CVE-2017-9313   (Links to External Site)
Date:  Jul 3 2017
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 1.840; possibly other versions
Description:   A vulnerability was reported in Webmin. A remote user can conduct cross-site scripting attacks.

The software does not properly filter HTML code from user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Webmin software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The 'sec' parameter in 'man/view_man.cgi' is affected.

The 'referers' parameter in 'webmin/change_referers.cgi' is affected.

The 'name' parameter in 'acl/save_user.cgi' is affected.

Some demonstration exploit URLs are provided:

https://[target]:10000/man/view_man.cgi?page=foo&sec=<script>alert('xss')</script>

https://[target]:10000/webmin/change_referers.cgi?referer=0&referers=<script>alert('xss')</script>

The vendor as notified on June 12, 2017

Andy Tan reported these vulnerabilities.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Webmin software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   The vendor has issued a fix (1.850).

The vendor advisory is available at:

http://webmin.com/changes.html

Vendor URL:  webmin.com/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [CVE-2017-9313] Webmin 1.840 Multiple XSS Vulnerabilities

Vulnerability type: Reflected Cross Site Scripting
------------------------
Product: Webmin
------------------------
Affected version: Webmin 1.840 and possibly 
earlier
------------------------
Patched version: Webmin 1.850
------------------------
Credit: Andy Tan
------------------------
CVE ID: CVE-2017-9313
------------------------

===============
Proof of Concept
================
Vulnerable Modules:
https://192.168.1.20:10000/man/view_man.cgi?page=foo&sec=<script>alert('xss')</script>

https://192.168.1.20:10000/webmin/change_referers.cgi?referer=0&referers=<script>alert('xss')</script>

https://192.168.1.20:10000/acl/save_user.cgi
(Vulnerable 'name' parameter)

Vendor contact timeline:
------------------------
2017-06-12: Contacted vendor.
2017-06-28: Vendor released new patch.
2017-07-02: Public disclosure.
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC