Skip to content

The SQL injection vulnerability in the Hide My WP...

Critical severity Unreviewed Published Nov 25, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Nov 24, 2021
Published to the GitHub Advisory Database Nov 25, 2021
Last updated Feb 1, 2023

Severity

Critical

EPSS score

0.246%
(64th percentile)

Weaknesses

CVE ID

CVE-2021-36916

GHSA ID

GHSA-53q2-99ph-73wh

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.