Improper input validation in Ether Etherpad-Lite
CVE-2021-43802
Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an `*.etherpad` file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be used to install a malicious Etherpad plugin that can execute arbitrary code (including system commands). To gain privileges, the attacker must be able to trigger deletion of `express-session` state or wait for old `express-session` state to be cleaned up. Core Etherpad does not delete any `express-session` state, so the only known attacks require either a plugin that can delete session state or a custom cleanup process (such as a cron job that deletes old `sessionstorage:*` records). The problem has been fixed in version 1.8.16. If users cannot upgrade to 1.8.16 or install patches manually, several workarounds are available. Users may configure their reverse proxies to reject requests to `/p/*/import`, which will block all imports, not just `*.etherpad` imports; limit all users to read-only access; and/or prevent the reuse of `express_sid` cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.021 · change: +0.001
Affected products
- Ether Etherpad-Lite — versions < 1.8.16
- Etherpad
Weakness classification (CWE)
References
- github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc (Patch, Third Party Advisory, Mitigation)
- github.com/ether/etherpad-lite/issues/5010 (Third Party Advisory, Issue Tracking)
- github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456… (Patch, Third Party Advisory)
- github.com/ether/etherpad-lite/releases/tag/1.8.16 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2021-43802?
- CVE-2021-43802 is a critical-severity vulnerability in Ether Etherpad-Lite, classified under CWE-790. CVSS score: 9.9/10. Published 2021-12-09.
- How severe is CVE-2021-43802?
- Critical severity. CVSS v3 base score is 9.9 out of 10.