A researcher at Tenable discovered multiple vulnerabilities in TCExam 14.8.1.
CVE-2021-20111 - Stored Cross Site Scripting Vulnerability in tce_filemanager.php
CVSSv3 Base Score: 4.6
CVSSv3 Vector: AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CWE: 79
A stored cross-site scripting vulnerability exists in TCExam <= 14.8.1. Valid files uploaded via tce_filemanager.php with a filename beggining with a period will be rendered as text/html. An attacker with access to tce_filemanager.php could upload a malicious javascript payload which would be triggered when another user views the file (either via tce_filemanager.php, other pages which allow the viewing of files, or via direct link).
CVE-2021-20112 - Stored Cross Site Scripting Vulnerability in tce_select_mediafile.php
CVSSv3 Base Score: 4.6
CVSSv3 Vector: AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CWE: 79
A stored cross-site scripting vulnerability exists in TCExam <= 14.8.1. Valid files uploaded via tce_select_mediafile.php with a filename beggining with a period will be rendered as text/html. An attacker with access to tce_select_mediafile.php could upload a malicious javascript payload which would be triggered when another user views the file (either via tce_select_mediafile.php, other pages which allow the viewing of files, or via direct link).
CVE-2021-20113 - Unauthenticated User Enumeration
CVSSv3 Base Score: 5.3
CVSSv3 Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE-203
An exposure of sensitive information vulnerability exists in TCExam <= 14.8.1. If a password reset request was made for an email address that was not registered with a user then we would be presented with an ‘unknown email’ error. If an email is given that is registered with a user then this error will not appear. A malicious actor could abuse this to enumerate the email addresses of registered users.
CVE-2021-20114 - Unauthenticated Access to Sensitive Objects via /cache/backup/
CVSSv3 Base Score: 9.1
CVSSv3 Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWE: 200
When installed following the default/recommended settings, TCExam <= 14.8.1 allowed unauthenticated users to access the /cache/backup/ directory, which included sensitive database backup files.
Among other things, these backup files contain usernames, password hashes and other user information that was supplied on signup.
CVE-2021-20115 - Stored Cross Site Scripting Vulnerability in tce_filemanager.php
CVSSv3 Base Score: 5.4
CVSSv3 Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE: 79
A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.3. The paths provided in the f, d, and dir parameters in tce_filemanager.php were not properly validated and could cause reflected XSS via the unsanitized output of the path supplied. An attacker could craft a malicious link which, if triggered by an administrator, could result in the attacker hijacking the victim's session or performing actions on their behalf.
CVE-2021-20116 - Stored Cross Site Scripting Vulnerability in tce_select_mediafile.php
CVSSv3 Base Score: 5.4
CVSSv3 Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE: 79
A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.4. The paths provided in the f, d, and dir parameters in tce_select_mediafile.php were not properly validated and could cause reflected XSS via the unsanitized output of the path supplied. An attacker could craft a malicious link which, if triggered by an administrator, could result in the attacker hijacking the victim's session or performing actions on their behalf.