CVE-2021-24657 Limit Login Attempts < 4.0.50 - Unauthenticated Stored Cross-Site Scripting
An unauthenticated attacker can inject malicious scripts via IP headers that execute in the admin reports table of the Limit Login Attempts plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24657?
CVE-2021-24657 is a medium-severity cross-site scripting vulnerability in Unknown Limit Login Attempts, published on 20 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Limit Login Attempts WordPress plugin before 4.0.50 does not escape the IP addresses (which can be controlled by attacker via headers such as X-Forwarded-For) of attempted logins before outputting them in the reports table, leading to an Unauthenticated Stored Cross-Site Scripting issue.
Weakness: CWE-79
Which versions are affected by CVE-2021-24657?
It affects 1 product.
Products include Limit Login Attempts Project Limit Login Attempts.
How do I fix CVE-2021-24657?
No fix has been published for CVE-2021-24657 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-24657 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24657 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown Limit Login Attempts
Sources
Also known as GHSA-68r9-qhv3-7fgg.