Description
The OpenID Connect Generic Client WordPress plugin 3.8.0 and 3.8.1 did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.
Affected Software
Related
{"id": "CVE-2021-24214", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24214", "description": "The OpenID Connect Generic Client WordPress plugin 3.8.0 and 3.8.1 did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.", "published": "2021-05-06T13:15:00", "modified": "2021-05-13T17:48:00", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3}, "severity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24214", "reporter": "contact@wpscan.com", "references": ["https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10"], "cvelist": ["CVE-2021-24214"], "immutableFields": [], "lastseen": "2022-03-23T14:49:29", "viewCount": 10, "enchantments": {"dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10"]}], "rev": 4}, "score": {"value": 1.4, "vector": "NONE"}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10"]}]}, "exploitation": null, "vulnersScore": 1.4}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": ["cpe:/a:daggerhartlab:openid_connect_generic_client:3.8.0", "cpe:/a:daggerhartlab:openid_connect_generic_client:3.8.1"], "cpe23": ["cpe:2.3:a:daggerhartlab:openid_connect_generic_client:3.8.1:*:*:*:*:wordpress:*:*", "cpe:2.3:a:daggerhartlab:openid_connect_generic_client:3.8.0:*:*:*:*:wordpress:*:*"], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "daggerhartlab:openid_connect_generic_client", "version": "3.8.0", "operator": "eq", "name": "daggerhartlab openid connect generic client"}, {"cpeName": "daggerhartlab:openid_connect_generic_client", "version": "3.8.1", "operator": "eq", "name": "daggerhartlab openid connect generic client"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:daggerhartlab:openid_connect_generic_client:3.8.0:*:*:*:*:wordpress:*:*", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:a:daggerhartlab:openid_connect_generic_client:3.8.1:*:*:*:*:wordpress:*:*", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10", "name": "https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10", "refsource": "CONFIRM", "tags": ["Exploit", "Third Party Advisory"]}]}
{"patchstack": [{"lastseen": "2022-06-01T19:32:49", "description": "Reflected Cross-Site Scripting (XSS) vulnerability discovered by Austin Bentley in WordPress OpenID Connect Generic Client plugin (versions <= 3.8.1).\n\n## Solution\n\n\r\n Update the WordPress OpenID Connect Generic Client plugin to the latest available version (at least 3.8.2).\r\n ", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2021-04-07T00:00:00", "type": "patchstack", "title": "WordPress OpenID Connect Generic Client plugin <= 3.8.1 - Reflected Cross-Site Scripting (XSS) vulnerability", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24214"], "modified": "2021-04-07T00:00:00", "id": "PATCHSTACK:F7FBE7DD4747B9390D5879964289CC7B", "href": "https://patchstack.com/database/vulnerability/daggerhart-openid-connect-generic/wordpress-openid-connect-generic-client-plugin-3-8-1-reflected-cross-site-scripting-xss-vulnerability", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "wpvulndb": [{"lastseen": "2021-05-14T11:24:59", "bulletinFamily": "software", "cvelist": ["CVE-2021-24214"], "description": "The plugin did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.\n\n### PoC\n\nhttps://example.com/wp-login.php?login-error=%3Cscript%3Ealert(0)%3C/script%3E\n", "modified": "2021-04-08T07:00:52", "id": "WPVDB-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10", "href": "https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10", "published": "2021-04-07T00:00:00", "type": "wpvulndb", "title": "OpenID Connect Generic Client 3.8.0-3.8.1 - Reflected Cross Site Scripting (XSS) via Login Error", "sourceData": "", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "wpexploit": [{"lastseen": "2021-05-14T11:24:59", "bulletinFamily": "exploit", "cvelist": ["CVE-2021-24214"], "description": "The plugin did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.\n", "modified": "2021-04-08T07:00:52", "published": "2021-04-07T00:00:00", "id": "WPEX-ID:31CF0DFB-4025-4898-A5F4-FC7115565A10", "href": "", "type": "wpexploit", "title": "OpenID Connect Generic Client 3.8.0-3.8.1 - Reflected Cross Site Scripting (XSS) via Login Error", "sourceData": "https://example.com/wp-login.php?login-error=%3Cscript%3Ealert(0)%3C/script%3E", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}