CVE-2021-43802: Admin privilege escalation and arbitrary code execution via malicious *.etherpad imports

Published Dec 9, 2021
·
Updated

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 expresssid cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.

Affected Software

1 affected component
Etherpad Etherpad<1.8.16

Event History

Dec 9, 2021
CVE Published
via MITRE·10:35 PM
Data Sourced
via MITRE·10:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-43802?

CVE-2021-43802 is a vulnerability in Etherpad versions prior to 1.8.16 that allows an attacker to gain admin privileges and execute malicious code.

2

How does CVE-2021-43802 affect Etherpad?

CVE-2021-43802 affects Etherpad versions prior to 1.8.16 and allows an attacker to gain admin privileges and install a malicious plugin.

3

What is the severity of CVE-2021-43802?

CVE-2021-43802 has a severity score of 8.8, which is considered critical.

4

How can I fix CVE-2021-43802?

To fix CVE-2021-43802, upgrade Etherpad to version 1.8.16 or later.

5

Where can I find more information about CVE-2021-43802?

You can find more information about CVE-2021-43802 in the references provided: [GitHub - Etherpad Lite Compare](https://github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507b30e762e9375b0511b3763e0162aae53), [GitHub - Etherpad Lite Issues](https://github.com/ether/etherpad-lite/issues/5010), [GitHub - Etherpad Lite Releases](https://github.com/ether/etherpad-lite/releases/tag/1.8.16).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203