CVE-2021-3694 Cross-site Scripting (XSS) - Reflected in ledgersmb/ledgersmb
Attackers can execute arbitrary code or steal data via reflected XSS in LedgerSMB error messages by tricking authenticated users into visiting crafted URLs.
- 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
- Available
What is CVE-2021-3694?
CVE-2021-3694 is a high-severity cross-site scripting vulnerability in Debian Debian Linux, published on 23 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
LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure.
Weakness: CWE-79
Which versions are affected by CVE-2021-3694?
It affects 2 products.
Products include Debian Debian Linux, Ledgersmb Ledgersmb.
How do I fix CVE-2021-3694?
Apply the vendor's patch.
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-3694 being exploited?
There is no known exploitation of CVE-2021-3694 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-3694, GHSA-5wc4-gq9m-293h, UBUNTU-CVE-2021-3694.