字号·· | 护眼
漏洞档案 · 严重

Apache CouchDB 不安全默认初始化(CVE-2022-24706)

CVE-2022-24706
CVSS 9.8 / 3.1 EPSS 97.2% CISA KEV 在野利用 公开 PoC · 6 Nuclei 模板
综合风险96/ 100
CVSS9.8严重
EPSS97.2%30 天利用概率
机构收录时间2022-03-06更新 2026-12-01

研判简报

概述

Apache CouchDB 3.2.2 之前的版本在默认安装下资源初始化不当(CWE-1188),攻击者无需认证即可访问配置不当的默认安装并获取管理员权限。Nuclei 模板进一步指出,该缺陷与默认 Erlang cookie 值 “monster” 相关,可导致远程命令执行。由于默认配置广泛存在且利用无需凭据,未修复的暴露实例风险极高。安全研究员与运维 CouchDB 集群的团队应优先关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 94.7/100;EPSS 30 天利用概率 92.5%(百分位 99.8%,日期 2026-11-23)。攻击面为网络可达的 CouchDB 默认安装,利用门槛低、影响为完全接管。

利用状态

CISA KEV 已收录(2022-08-25),要求动作 “Apply updates per vendor instructions.”,期限 2022-09-15;CISA SSVC 判定 automatable=yes / exploitation=active / technical_impact=total。存在公开 Nuclei 检测模板(network/cves/2022/CVE-2022-24706.yaml)及 Exploit-DB/公开 PoC 共 6 条。以上状态核查日期为 2026-11-24。勒索软件关联情况材料未给出。

受影响产品

Apache Software Foundation Apache CouchDB,版本区间 >=Apache CouchDB <=3.2.1(即 3.2.2 之前版本)。涉及组件为默认安装的 Erlang 分布式接口与默认 cookie 配置;部署形态为网络可达的 CouchDB 实例,材料未给出更细的部署形态区分。

修复版本

升级至 Apache CouchDB 3.2.2 或更新版本。Nuclei 模板说明:自 3.2.2 起,旧默认 Erlang cookie 值 “monster” 将在启动时被拒绝,升级后的安装需选择替代值。官方公告链接见参考材料。

缓解措施

无法立即升级时,按厂商文档加固安装:在 CouchDB 前部署防火墙限制访问来源,并更换默认 Erlang cookie 值(材料提及 3.2.2 起拒绝 “monster”,升级安装需选择替代值)。材料未给出其他具体缓解配置项。

响应步骤

  1. 资产排查:识别所有 CouchDB 实例及版本,确认是否处于 <=3.2.1 区间。
  2. 暴露面核查:检查实例是否可被外部网络直接访问,尤其是 Erlang 分布式端口。
  3. 升级处置:按厂商指引升级至 3.2.2 或更高版本,并确认启动时旧 cookie 被拒绝。
  4. 凭据轮换:升级后按模板说明设置替代 Erlang cookie 值,避免沿用默认值。
  5. 检测验证:使用公开 Nuclei 模板对存量实例进行验证性检测,确认无未授权访问。
  6. 持续监控:结合 KEV 与 EPSS 状态跟踪利用动态,材料未给出日志排查的具体字段。

参考来源

  1. https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00kev,x_transferred
  2. https://nvd.nist.gov/vuln/detail/CVE-2022-24706kev
  3. https://www.exploit-db.com/exploits/50914exploit,exploitdb
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2022/CVE-2022-24706.yamlexploit,nuclei
  5. https://docs.couchdb.org/en/3.2.2/setup/cluster.htmlx_transferred
  6. http://www.openwall.com/lists/oss-security/2022/04/26/1mailing-list,mailing-list,x_transferred
  7. http://www.openwall.com/lists/oss-security/2022/05/09/1mailing-list,mailing-list,x_transferred
  8. http://www.openwall.com/lists/oss-security/2022/05/09/3mailing-list,mailing-list,x_transferred
  9. http://www.openwall.com/lists/oss-security/2022/05/09/4mailing-list,mailing-list,x_transferred
  10. http://www.openwall.com/lists/oss-security/2022/05/09/2mailing-list,mailing-list,x_transferred
  11. http://packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remote-Code-Execution.htmlx_transferred
  12. https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcdx_transferred
  13. http://packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Remote-Code-Execution.htmlx_transferred
  14. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24706government-resource
  15. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/apache_couchdb_erlang_rceexploit,metasploit
  16. https://www.countercraftsec.com/blog/active-exploitation-of-confluence-cve-2022-26134/kev