原始描述
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.
受影响的软件
- Etherpad < 1.8.16 修复版本: 1.8.16 精确匹配
详情
- 发布日期
- 2021-12-09
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-790, CWE-1287, CWE-20
- EPSS(30 天内被利用概率)
- 2.06% (百分位 82)
参考资料
- cve.org/CVE-2021-43802
- nvd.nist.gov/vuln/detail/CVE-2021-43802
- github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507...
- github.com/ether/etherpad-lite/issues/5010
- github.com/ether/etherpad-lite/releases/tag/1.8.16
- github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。