{
    "CVE_data_meta": {
        "ASSIGNER": "audit@patchstack.com",
        "DATE_PUBLIC": "2021-11-24T13:53:00.000Z",
        "ID": "CVE-2021-36916",
        "STATE": "PUBLIC",
        "TITLE": "WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Hide My WP (WordPress plugin)",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "<= 6.2.3",
                                            "version_value": "6.2.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "wpWave"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Vulnerability discovered by Dave Jong (Patchstack)."
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 8.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-89 SQL Injection"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158",
                "refsource": "CONFIRM",
                "url": "https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158"
            },
            {
                "name": "https://patchstack.com/hide-my-wp-vulnerabilities-fixed/",
                "refsource": "MISC",
                "url": "https://patchstack.com/hide-my-wp-vulnerabilities-fixed/"
            },
            {
                "name": "https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability",
                "refsource": "MISC",
                "url": "https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Update to 6.2.4 or higher version."
        }
    ],
    "source": {
        "discovery": "EXTERNAL"
    }
}