SQL Injection in Wpwave Hide My Wp

CVE-2021-36916

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.

Vulnerability class: SQL Injection

EPSS: 0.018 (76.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-36916?
CVE-2021-36916 is a high-severity vulnerability in Wpwave Hide My Wp, classified under SQL Injection. CVSS score: 8.6/10. Published 2021-11-24.
How severe is CVE-2021-36916?
High severity. CVSS v3 base score is 8.6 out of 10.
Is CVE-2021-36916 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.