{ "id": "CVE-2021-36916", "sourceIdentifier": "audit@patchstack.com", "published": "2021-11-24T17:15:07.857", "lastModified": "2021-11-26T15:49:12.297", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "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." }, { "lang": "es", "value": "Una vulnerabilidad de inyecci\u00f3n SQL en el plugin Hide My WP de WordPress (versiones anteriores a 6.2.3 incluy\u00e9ndola) es posible debido a la forma en que la direcci\u00f3n IP es recuperada y usada dentro de una consulta SQL. La funci\u00f3n \"hmwp_get_user_ip\" intenta recuperar la direcci\u00f3n IP a partir de m\u00faltiples encabezados, incluyendo encabezados de direcci\u00f3n IP que el usuario puede falsear, como \"X-Forwarded-For\". Como resultado, la carga \u00fatil maliciosa suministrada en uno de estos encabezados de direcci\u00f3n IP ser\u00e1 insertado directamente en la consulta SQL, haciendo posible una inyecci\u00f3n SQL" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 }, { "source": "audit@patchstack.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW", "baseScore": 8.6, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 4.7 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-89" } ] }, { "source": "audit@patchstack.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-89" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:wpwave:hide_my_wp:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "6.2.3", "matchCriteriaId": "EE2E78B7-574B-4AFD-9718-CAA0FC5FCC44" } ] } ] } ], "references": [ { "url": "https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158", "source": "audit@patchstack.com", "tags": [ "Product" ] }, { "url": "https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability", "source": "audit@patchstack.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://patchstack.com/hide-my-wp-vulnerabilities-fixed/", "source": "audit@patchstack.com", "tags": [ "Exploit", "Third Party Advisory" ] } ] }