GitLab
Weak Password Recovery Mechanism for Forgotten Password in GitLab
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.3 prior to 16.3.7, 16.4 prior to 16.4.5, 16.5 prior to 16.5.6, 16.6 prior to 16.6.4, and 16.7 prior to 16.7.2 in which user account password reset emails could be delivered to an unverified email address.
Timeline
Days relative to CVE publicationFirst public PoC 3 h before publication; added to CISA KEV 110 days after publication. First PoC: RandomRobbieBF/CVE-2023-7028 (created 12 Jan 2024, found by us: backfilled).
PoC repositories
Found on GitHub.17 PoCs · 3 pending · 2 informational · 1 suspicious or fake
PoCs 17
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| RandomRobbieBF/CVE-2023-7028 | 12 Jan 2024 −3 h | 55 | PoC |
| duy-31/CVE-2023-7028 | 12 Jan 2024 +1 h | 3 | PoC
Flags · score 25
Below the suspicion threshold (50); does not change the assessment. |
| Vozec/CVE-2023-7028 | 12 Jan 2024 +5 h | 244 | PoC |
| yoryio/CVE-2023-7028 | 18 Jan 2024 +5.6 d | 0 | PoC |
| Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab | 23 Jan 2024 +11 d | 0 | PoC |
| thanhlam-attt/CVE-2023-7028 | 23 Jan 2024 +11 d | 2 | PoC |
| Trackflaw/CVE-2023-7028-Docker | 25 Jan 2024 +13 d | 3 | PoC |
| mochammadrafi/CVE-2023-7028 | 26 Jan 2024 +14 d | 0 | PoC |
| hackeremmen/gitlab-exploit | 28 Jan 2024 +16 d | 1 | PoC |
| olebris/Exploit_CVE_2023_7028- | 28 Jun 2024 +168 d | 0 | PoC |
| soltanali0/CVE-2023-7028 | 25 Jul 2024 +195 d | 0 | PoC |
| fa-rrel/CVE-2023-7028 | 21 Aug 2024 +222 d | 1 | PoC |
| gh-ost00/CVE-2023-7028 | 21 Aug 2024 +222 d | 1 | PoC |
| sariamubeen/CVE-2023-7028 | 17 Feb 2025 +1.1 y | 3 | PoC |
| Sornphut/CVE-2023-7028-GitLab | 29 Mar 2025 +1.2 y | 0 | PoC |
| szybnev/CVE-2023-7028 | 21 Jul 2025 +1.5 y | 2 | PoC |
| FearThePLOTO/GitLab-CVE-2023-7028 | 6 Sep 2026 +2.6 y | 0 | PoC
Flags · score 25
Below the suspicion threshold (50); does not change the assessment. |
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| KameliaZaman/Exploiting-GitLab-CVE-2023-7028 | 5 Aug 2025 +1.6 y | 0 | Pending · repository exceeds size limit via PoC Index |
| TheRedDevil1/CVE-2023-7028 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| V1lu0/CVE-2023-7028 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| googlei1996/CVE-2023-7028 | 12 Jan 2024 t = 0 | 0 | Informational · write-up |
| Esonhugh/gitlab_honeypot | 18 Jan 2024 +5.8 d | 4 | Informational · detection |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| k3ppf0r/2024-PocLib | 8 May 2024 +117 d | 309 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | HackerOne Bug Bounty Report #2293343 | unknown | 14 Nov 2026 |
| Exploit-DB | GitLab CE/EE < 16.7.2 - Password Reset | 14 Mar 2024 | 14 Nov 2026 |
| Metasploit | Metasploit auxiliary: GitLab Password Reset Account Takeover (auxiliary/admin/http/gitlab_password_reset_account_takeover) | 18 Jan 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: GitLab - Account Takeover via Password Reset | 14 Jan 2024 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 18 PoC reposPOST /users/password
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Language: fr-FR,fr;q=0.5Cookie: $cookiesCookie: _gitlab_session={var}Origin: {var}://{var}Referer: {var}/users/sign_inReferer: {var}://{var}/users/password/newUpgrade-Insecure-Requests: 1- Body markers
user[email][]=alice@example.comuser[email][]=attacker@evil.com`user%5Bemail%5D=authenticity_token=_method=putuser[reset_password_token]=user[password]=user[password_confirmation]=user[email][]=inapplication/x-www-form-urlencoded- Ports
- 3000, 8000, 8080
- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0- Seen in
- 16 repos: FearThePLOTO/GitLab-CVE-2023-7028, RandomRobbieBF/CVE-2023-7028, Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab, Sornphut/CVE-2023-7028-GitLab, Vozec/CVE-2023-7028, duy-31/CVE-2023-7028, fa-rrel/CVE-2023-7028, gh-ost00/CVE-2023-7028, hackeremmen/gitlab-exploit, mochammadrafi/CVE-2023-7028, olebris/Exploit_CVE_2023_7028-, sariamubeen/CVE-2023-7028, soltanali0/CVE-2023-7028, szybnev/CVE-2023-7028, thanhlam-attt/CVE-2023-7028, yoryio/CVE-2023-7028
- Evidence
- FearThePLOTO/GitLab-CVE-2023-7028/README.md:10 RandomRobbieBF/CVE-2023-7028/CVE-2023-7028.py:30 Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab/CVE-2023-7028.py:121 Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab/CVE-2023-7028.py:177 Sornphut/CVE-2023-7028-GitLab/attack.py:44 Vozec/CVE-2023-7028/CVE-2023-7028.py:121
GET /users/password/new
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Referer: {var}/users/sign_inUpgrade-Insecure-Requests: 1- Ports
- 8000
- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0- Seen in
- 14 repos: RandomRobbieBF/CVE-2023-7028, Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab, Sornphut/CVE-2023-7028-GitLab, Vozec/CVE-2023-7028, fa-rrel/CVE-2023-7028, gh-ost00/CVE-2023-7028, hackeremmen/gitlab-exploit, mochammadrafi/CVE-2023-7028, olebris/Exploit_CVE_2023_7028-, sariamubeen/CVE-2023-7028, soltanali0/CVE-2023-7028, szybnev/CVE-2023-7028, thanhlam-attt/CVE-2023-7028, yoryio/CVE-2023-7028
- Evidence
- RandomRobbieBF/CVE-2023-7028/CVE-2023-7028.py:14 Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab/CVE-2023-7028.py:91 Sornphut/CVE-2023-7028-GitLab/attack.py:18 Vozec/CVE-2023-7028/CVE-2023-7028.py:91 fa-rrel/CVE-2023-7028/CVE-2023-7028.py:91 gh-ost00/CVE-2023-7028/CVE-2023-7028.py:91
GET /mailbox/
- Query
action=readMessageFull{var}=- Seen in
- 7 repos: Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab, Vozec/CVE-2023-7028, fa-rrel/CVE-2023-7028, gh-ost00/CVE-2023-7028, olebris/Exploit_CVE_2023_7028-, soltanali0/CVE-2023-7028, szybnev/CVE-2023-7028
- Evidence
- Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab/CVE-2023-7028.py:54 Vozec/CVE-2023-7028/CVE-2023-7028.py:54 fa-rrel/CVE-2023-7028/CVE-2023-7028.py:54 gh-ost00/CVE-2023-7028/CVE-2023-7028.py:54 olebris/Exploit_CVE_2023_7028-/CVE-2023-7028.py:37 soltanali0/CVE-2023-7028/exploit.py:54
POST /mailbox
- Body markers
action=getMessageslogin=domain=inapplication/x-www-form-urlencoded- Seen in
- 7 repos: Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab, Vozec/CVE-2023-7028, fa-rrel/CVE-2023-7028, gh-ost00/CVE-2023-7028, olebris/Exploit_CVE_2023_7028-, soltanali0/CVE-2023-7028, szybnev/CVE-2023-7028
- Evidence
- Shimon03/CVE-2023-7028-Account-Take-Over-Gitlab/CVE-2023-7028.py:36 Vozec/CVE-2023-7028/CVE-2023-7028.py:36 fa-rrel/CVE-2023-7028/CVE-2023-7028.py:36 gh-ost00/CVE-2023-7028/CVE-2023-7028.py:36 olebris/Exploit_CVE_2023_7028-/CVE-2023-7028.py:29 soltanali0/CVE-2023-7028/exploit.py:36
GET /users/sign_in
- Ports
- 8080
- Seen in
- 1 repo: duy-31/CVE-2023-7028
- Evidence
- duy-31/CVE-2023-7028/cve-2023-7028.sh:9
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/users/password(?:[?#].*)?$
(?i)^/users/password/new(?:[?#].*)?$
(?i)^/mailbox/\?(?:.*&)?action=readMessageFull.*\{var\}=
(?i)^/mailbox(?:[?#].*)?$
(?i)^/users/sign_in(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000,8000,8080] (msg:"GG PoC-Monitor CVE-2023-7028 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/users/password"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Accept-Language: fr-FR,fr|3b|q=0.5"; nocase; http.header; content:"Cookie: $cookies"; nocase; http.header; content:"Cookie: _gitlab_session="; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"user[email][]=alice@example.com"; http.request_body; content:"user[email][]=attacker@evil.com`"; http.request_body; content:"user%5Bemail%5D="; http.request_body; content:"authenticity_token="; http.request_body; content:"_method=put"; http.request_body; content:"user[reset_password_token]="; http.request_body; content:"user[password]="; http.request_body; content:"user[password_confirmation]="; http.request_body; content:"user[email][]="; reference:url,poc.griffinguard.io/cve/CVE-2023-7028; classtype:web-application-attack; sid:9502158; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2023-7028 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/users/password/new"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-7028; classtype:web-application-attack; sid:9403875; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-7028 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/mailbox/"; http.uri; content:"action=readMessageFull"; http.uri; content:"{var}="; reference:url,poc.griffinguard.io/cve/CVE-2023-7028; classtype:web-application-attack; sid:9696179; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-7028 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/mailbox"; http.request_body; content:"action=getMessages"; http.request_body; content:"login="; http.request_body; content:"domain="; reference:url,poc.griffinguard.io/cve/CVE-2023-7028; classtype:web-application-attack; sid:9890926; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2023-7028 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/users/sign_in"; reference:url,poc.griffinguard.io/cve/CVE-2023-7028; classtype:web-application-attack; sid:9260396; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: GitLab GitLab exploit attempt (CVE-2023-7028)
id: gg-pocmon-cve-2023-7028-9502158
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-7028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-7028
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/users/password'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.7028
title: GitLab GitLab exploit attempt (CVE-2023-7028)
id: gg-pocmon-cve-2023-7028-9403875
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-7028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-7028
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/users/password/new'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.7028
title: GitLab GitLab exploit attempt (CVE-2023-7028)
id: gg-pocmon-cve-2023-7028-9696179
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-7028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-7028
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/mailbox/'
cs-uri-query|contains|all:
- 'action=readMessageFull'
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.7028
title: GitLab GitLab exploit attempt (CVE-2023-7028)
id: gg-pocmon-cve-2023-7028-9890926
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-7028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-7028
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/mailbox'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.7028
title: GitLab GitLab exploit attempt (CVE-2023-7028)
id: gg-pocmon-cve-2023-7028-9260396
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-7028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-7028
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/users/sign_in'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.7028