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.
References
Link | Resource |
---|---|
https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 | Product |
https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability | Patch Third Party Advisory |
https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ | Exploit Third Party Advisory |
https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 | Product |
https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability | Patch Third Party Advisory |
https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 06:14
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 8.6 |
References | () https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 - Product | |
References | () https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability - Patch, Third Party Advisory | |
References | () https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ - Exploit, Third Party Advisory |
26 Nov 2021, 15:49
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-89 | |
CPE | cpe:2.3:a:wpwave:hide_my_wp:*:*:*:*:*:wordpress:*:* | |
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
References | (MISC) https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability - Patch, Third Party Advisory | |
References | (MISC) https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ - Exploit, Third Party Advisory | |
References | (CONFIRM) https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 - Product |
24 Nov 2021, 17:57
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-11-24 17:15
Updated : 2024-11-21 06:14
NVD link : CVE-2021-36916
Mitre link : CVE-2021-36916
CVE.ORG link : CVE-2021-36916
JSON object : View
Products Affected
wpwave
- hide_my_wp
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')