vendor:
Submitty
by:
humblelad
5.4
CVSS
MEDIUM
Persistent Cross-Site Scripting
79
CWE
Product Name: Submitty
Affected Version From: 20.04.01
Affected Version To: 20.04.01
Patch Exists: YES
Related CWE: CVE-2020-12882
CPE: 2.3:a:submitty:submitty:20.04.01
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Mac Os Catalina
2020
Submitty 20.04.01 – Persistent Cross-Site Scripting
Submitty through 20.04.01 allows XSS via upload of an SVG document, as demonstrated by an attack by a Student against a Teaching Fellow. This vulnerability can potentially enable any student to takeover the account of TA if they open the attachment as the cookie gets exposed. To exploit this vulnerability, a student must login, go to a gradeable page, and upload a malicious SVG file with any XSS payload. The TA must then open the same page for grading, which will trigger the XSS payload.
Mitigation:
Ensure that all user-supplied input is properly sanitized and validated before being used in the application.