CVE-2021-43802 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507b30e762e9375b0511b3763e0162aae53 | CVE | PatchThird Party Advisory |
| https://github.com/ether/etherpad-lite/issues/5010 | CVE | Issue TrackingThird Party Advisory |
| https://github.com/ether/etherpad-lite/releases/tag/1.8.16 | CVE | Release NotesThird Party Advisory |
| https://github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc | CVE | MitigationPatchThird Party Advisory |
| https://github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507b30e762e9375b0511b3763e0162aae53 | [email protected] | PatchThird Party Advisory |
| https://github.com/ether/etherpad-lite/issues/5010 | [email protected] | Issue TrackingThird Party Advisory |
| https://github.com/ether/etherpad-lite/releases/tag/1.8.16 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc | [email protected] | MitigationPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-1287 | Improper Validation of Specified Type of Input | [email protected] |
| CWE-790 | Improper Filtering of Special Elements | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| etherpad etherpad | < 1.8.16 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 31, 2023 | Reanalysis | [email protected] |
| Dec 15, 2021 | Initial Analysis | [email protected] |