Sploitus

Exploit for CVE-2023-7028

kitploit · 2026-09-03

Exploit Code

MARKDOWN62 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-YORYIO-CVE-2023-7028
# CVE-2023-7028

⚠️ 此漏洞利用工具仅供防御用途,应由网络安全专业人员用于识别可能存在漏洞的 GitLab 服务器。

# 描述

### CVE-2023-7028 - 无需用户交互的密码重置账户接管(GitLab 社区版和企业版)

![gitlablogo](https://upload.wikimedia.org/wikipedia/commons/e/e1/GitLab_logo.svg)

_受影响的产品和版本:_

产品| 受影响版本  
---|---  
GitLab 社区版和企业版| < 16.1.6   
< 16.2.9  
< 16.3.7   
< 16.4.5   
< 16.5.6   
< 16.6.4   
< 16.7.2  
  
  * **CVSS:** 10.0
  * **被积极利用:** 是
  * **补丁:** 是
  * **缓解措施:** 否



# 帮助

root@kitploit:~
    
    
    usage: CVE-2023-7028.py [-h] -u URL -t TARGET -a ATTACKER
    
    options:
      -h, --help            show this help message and exit
      -u URL, --url URL     GitLab URL (HTTP or HTTPS)
      -t TARGET, --target TARGET
                            Target email address
      -a ATTACKER, --attacker ATTACKER
                            Attacker email address
    

**示例:** `python CVE-2023-7028.py -u https://gitlab.example.com -t some-email@example.com -a some-email@example.com`

# 实验环境

你可以使用 Try Hack Me 的实验室房间 GitLab CVE-2023-7028 来测试此漏洞利用工具,因为它运行着受 CVE-2023-7028 影响的漏洞版本。

# SHADOWSERVER 观测到的 GitLab 服务器分布:

![map2](https://assets.kitploit.com/production/public/readmes/34877/f2982b3c43e9ddf62a52ddcfb4b00519d5a4774f5395a64aad9a4907dc5befa8.png)

# 参考链接

  * GitLab 关键安全更新: 16.7.2, 16.6.4, 16.5.6 
  * 超过 5300 台 GitLab 服务器暴露于零点击账户接管攻击
  * Shadowserver GitLab 统计数据
  * CVE-2023-7028 - AttackerKB