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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-36910Authenticated (admin user role) Stored Cross-Site Scripting …4.8
- CVE-2021-36911Stored Cross-Site Scripting (XSS) vulnerability discovered i…5.4
- CVE-2021-36912Stored Cross-Site Scripting (XSS) vulnerability in Andrea Pe…5.4
- CVE-2021-36913Unauthenticated Options Change and Content Injection vulnera…7.5
- CVE-2021-36914Cross-Site Request Forgery (CSRF) vulnerability leading to R…6.1
- CVE-2021-36915Cross-Site Request Forgery (CSRF) vulnerability in Cozmoslab…4.3
- CVE-2021-36917WordPress Hide My WP plugin (versions <= 6.2.3) can be deact…7.5
- CVE-2021-36919Multiple Authenticated Reflected Cross-Site Scripting (XSS) …5.4
- CVE-2021-3692yii2 is vulnerable to Use of Predictable Algorithm in Random…5.3
- CVE-2021-36920Authenticated Reflected Cross-Site Scripting (XSS) vulnerabi…5.4
- CVE-2021-36921AIMANAGER before B115 on MONITORAPP Application Insight Web …8.8
- CVE-2021-36922RtsUpx.sys in Realtek RtsUpx USB Utility Driver for Camera/H…7.8
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
