Skip to content

CVE-2021-36916 WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability

CriticalCVSS 9.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
WordPress

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
wordpress hide_my_wp(WordPress) < 6.2.4 6.2.4 Fixed
wpwave hide my wp <= 6.2.3 after 6.2.3 Fixed
wpwave Hide My WP (WordPress plugin) >= <= 6.2.3, <= 6.2.3 after 6.2.3 Fixed

Affected products

ProductAffected versionsFixed in
wordpress hide_my_wp(WordPress) < 6.2.4 6.2.4
wpwave hide my wp <= 6.2.3 No fix listed
wpwave Hide My WP (WordPress plugin) >= <= 6.2.3, <= 6.2.3 No fix listed

References