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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wpwave:hide_my_wp:*:*:*:*:*:wordpress:*:*

History

No history.

Information

Published : 2021-11-24 17:15

Updated : 2024-02-28 18:48


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')