CVE-2021-36916
Last modified
CVE-2021-36916 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The SQL injection vulnerability in the Hide My WP WordPress plugin (versions <= 6.2.3) is possible because of how the IP address is retrieved and used inside a SQL query. The function "hmwp_get_user_ip" tries to retrieve the IP address from multiple headers, including IP address headers that the user can spoof, such as "X-Forwarded-For." As a result, the malicious payload supplied in one of these IP address headers will be directly inserted into the SQL query, making SQL injection possible.. EPSS estimates a 1.80% chance of exploitation in the next 30 days.
Description
The SQL injection vulnerability in the Hide My WP WordPress plugin (versions <= 6.2.3) is possible because of how the IP address is retrieved and used inside a SQL query. The function "hmwp_get_user_ip" tries to retrieve the IP address from multiple headers, including IP address headers that the user can spoof, such as "X-Forwarded-For." As a result, the malicious payload supplied in one of these IP address headers will be directly inserted into the SQL query, making SQL injection possible.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wpwave | Hide My Wp | <= 6.2.3 |
References
- https://patchstack.com/hide-my-wp-vulnerabilities-fixed/Exploit, Third Party Advisory
- https://patchstack.com/hide-my-wp-vulnerabilities-fixed/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-36916?
How severe is CVE-2021-36916?
How do I fix CVE-2021-36916?
Are you affected by CVE-2021-36916?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
