PT-2021-3848 · Tcexam · Tcexam
Derrie Sutton
·
Published
2021-07-15
·
Updated
2021-08-02
·
CVE-2021-20112
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
TCExam versions prior to 14.8.1
Description
The issue is related to incorrect rendering of files as text/html when they start with a period. This can lead to cross-site scripting attacks. An attacker could upload a malicious JavaScript payload via the
tce select mediafile.php endpoint, which would be triggered when another user views the file. The estimated number of potentially affected devices is not specified.Recommendations
For versions prior to 14.8.1, update to a version that includes the fix for this issue to prevent exploitation.
As a temporary workaround, consider restricting access to the
tce select mediafile.php endpoint to minimize the risk of uploading malicious files.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tcexam