CVE-2022-37160 Cross-site scripting in n/a
Authenticated attackers can escalate privileges to administrator by exploiting XSS in upload forms to trigger API calls creating privileged users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-37160?
CVE-2022-37160 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Aug 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Claroline 13.5.7 and prior allows an authenticated attacker to elevate privileges via the arbitrary creation of a privileged user. By combining the XSS vulnerability present in several upload forms and a javascript request to the present API, it is possible to trigger the creation of a user with administrative rights by opening an SVG file as an administrator user.
Weakness: CWE-79
Which versions are affected by CVE-2022-37160?
It affects 1 product.
Products include Claroline Claroline.
How do I fix CVE-2022-37160?
No fix has been published for CVE-2022-37160 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-2022-37160 being exploited?
There is no known exploitation of CVE-2022-37160 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-wf9g-xq9w-3q55.