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

GitLab CE/EE 账户接管(CVE-2023-7028)

CVE-2023-7028 别名:GHSA-MGG5-84CV-FC3C
CVSS 10.0 / 3.1 EPSS 94.9% CISA KEV 在野利用 公开 PoC · 17 Nuclei 模板
综合风险96/ 100
CVSS10.0严重
EPSS94.9%30 天利用概率
机构收录时间2024-01-12更新 2026-12-01

研判简报

概述

GitLab CE/EE 存在密码重置流程缺陷:用户发起密码重置时,重置邮件可被投递至未验证的邮箱地址。未认证攻击者可借此将重置链接引向自己控制的邮箱,从而接管账户。该漏洞影响多个 16.x 版本区间,攻击面为公开可访问的 GitLab Web 登录/重置接口,凡暴露在互联网的 GitLab 实例均应关注。

严重性

官方记录 CVSS 3.1 为 10.0(critical),综合风险分 95.98/100;EPSS 30 天利用概率 94.9%(百分位 99.9%,日期 2026-11-24)。攻击面为未认证远程 HTTP 请求,无需交互即可触发。注意:参考材料中的 Nuclei 模板标注 CVSS 7.5 与官方记录 10.0 存在出入,以官方记录为准。

利用状态

截至核查日期 2026-11-24:CISA KEV 已收录(2024-05-01),要求动作期限 2024-05-22;CISA SSVC 判定 automatable=yes、exploitation=active、technical_impact=total。已有公开 Nuclei 检测模板(http/cves/2023/CVE-2023-7028.yaml),Exploit-DB/公开 PoC 共 17 条。勒索软件关联情况材料未给出。

受影响产品

GitLab CE/EE:>=16.1 <16.1.6;>=16.2 <16.2.9;>=16.3 <16.3.7;>=16.4 <16.4.5;>=16.5 <16.5.6;>=16.6 <16.6.4;>=16.7 <16.7.2。组件为账户密码重置流程,部署形态材料未给出(Nuclei 模板含 Shodan/FOFA 指纹,指向可公网访问的 GitLab 实例)。

修复版本

官方修复版本:GitLab 16.1.6、16.2.9、16.3.7、16.4.5、16.5.6、16.6.4、16.7.2(按所在版本线升级至对应版本或更高)。

缓解措施

按 KEV 要求依厂商说明应用缓解措施,或在无法缓解时停止使用该产品。材料未给出具体替代缓解配置;在无法立即升级时可参考的限制性动作材料未给出。

响应步骤

  1. 盘点所有 GitLab CE/EE 实例,比对版本是否落在上述受影响区间。
  2. 按版本线升级至 16.1.6 / 16.2.9 / 16.3.7 / 16.4.5 / 16.5.6 / 16.6.4 / 16.7.2 或更高。
  3. 排查密码重置相关异常:向未验证或陌生邮箱投递的重置邮件、异常重置请求。
  4. 对可疑账户强制重置凭据并审计会话与访问日志。
  5. 用公开 Nuclei 模板对暴露实例做验证性检测,确认修复生效。
  6. 收敛 GitLab 实例的公网暴露面,持续跟踪 KEV 与厂商公告。

参考来源

  1. https://about.gitlab.com/releases/2024/01/11/critical-security-release-gitlab-16-7-2-released/kev
  2. https://nvd.nist.gov/vuln/detail/CVE-2023-7028kev
  3. https://www.exploit-db.com/exploits/51889exploit,exploitdb
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-7028.yamlexploit,nuclei
  5. https://gitlab.com/gitlab-org/gitlab/-/issues/436084issue-tracking,issue-tracking,x_transferred,advisory,euvd
  6. https://hackerone.com/reports/2293343technical-description,exploit,technical-description,exploit,x_transferred,adviso
  7. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-7028government-resource
  8. https://www.vicarius.io/vsociety/posts/critical-gitlab-account-takeover-vulnerability-cve-2023-7028
  9. https://github.com/rapid7/metasploit-framework/tree/master/modules/auxiliary_admin/http/gitlab_password_reset_account_takeoverexploit,metasploit
  10. https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-59219advisory,euvd
  11. https://euvd.enisa.europa.eu/enisa/EUVD-2023-59219kev
  12. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  13. https://www.ptsecurity.com/ru-ru/research/analytics/aktualnye-kiberugrozy-ii-kvartal-2024-goda/kev
  14. https://www.ptsecurity.com/ww-en/analytics/data-leaks-current-threats-for-companies-in-H1-2024/kev
  15. https://app.crowdsec.net/cti/cve-explorer/CVE-2023-7028kev
  16. https://offseq.com/en/research/connection-is-not-an-exploit/kev