CVE-2021-36916
Wpwave Hide My Wp vulnerability
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.
Affected products
Hide My Wp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wpwave Hide My Wp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3 · Patch
- patchstack.com/hide-my-wp-vulnerabilities-fixed/ · Exploit
- codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158
- nvd.nist.gov/vuln/detail/CVE-2021-36916
- cve.org/CVERecord?id=CVE-2021-36916
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.