CVE-2021-20115 Cross-site scripting in TCExam
Reflected XSS in TCExam allows attackers to hijack administrator sessions or perform actions on their behalf via malicious links.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-20115?
CVE-2021-20115 is a medium-severity cross-site scripting vulnerability in TCExam, published on 5 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2021-20115?
It affects 1 product.
Products include Tecnick Tcexam.
How do I fix CVE-2021-20115?
No fix has been published for CVE-2021-20115 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-20115 being exploited?
There is no known exploitation of CVE-2021-20115 in the wild and no public exploit code.
Other vulnerabilities in TCExam
Sources
Also known as GHSA-qrj3-fx9c-4m4x.