CVE-2021-36916 Detail

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

View Analysis Description

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

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’) NIST   Patchstack  

Change History

1 change records found show changes

Initial Analysis 11/26/2021 10:49:12 AM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:wpwave:hide_my_wp:*:*:*:*:*:wordpress:*:* versions up to (including) 6.2.3
Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CWE
NIST CWE-89
Changed Reference Type
https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 No Types Assigned
https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 Product
Changed Reference Type
https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability No Types Assigned
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
Changed Reference Type
https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ No Types Assigned
https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ Exploit, Third Party Advisory

Quick Info

CVE Dictionary Entry:
CVE-2021-36916
NVD Published Date:
11/24/2021
NVD Last Modified:
11/26/2021
Source:
Patchstack