PoC Monitor
← All CVEs
CVE-2023-7028published 12 Jan 2024 13:56 UTCData: JSON · API

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.

First public PoC 3 h beforebefore publication · 12 Jan 2024
Public PoCs2017 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-640
CISA KEV 1 May 2024110 days after publication

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98First public PoC12 Jan 2024 · t−3hCVE published12 Jan 2024 · t = 0Added to CISA KEV1 May 2024 · t+110d

First 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
RepositoryCreatedStarsAssessment
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
  • description pushes a download/binary

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
  • description pushes a download/binary

Below the suspicion threshold (50); does not change the assessment.

Pending 3
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
CVE record (tagged exploit)HackerOne Bug Bounty Report #2293343unknown14 Nov 2026
Exploit-DBGitLab CE/EE < 16.7.2 - Password Reset14 Mar 202414 Nov 2026
MetasploitMetasploit auxiliary: GitLab Password Reset Account Takeover (auxiliary/admin/http/gitlab_password_reset_account_takeover)18 Jan 202414 Nov 2026
nuclei templatenuclei template: GitLab - Account Takeover via Password Reset14 Jan 202414 Nov 2026

PoC characteristics

What to hunt for in your logs · from 18 PoC repos

POST /users/password

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Language: fr-FR,fr;q=0.5 Cookie: $cookies Cookie: _gitlab_session={var} Origin: {var}://{var} Referer: {var}/users/sign_in Referer: {var}://{var}/users/password/new Upgrade-Insecure-Requests: 1
Body markers
user[email][]=alice@example.com user[email][]=attacker@evil.com` user%5Bemail%5D= authenticity_token= _method=put user[reset_password_token]= user[password]= user[password_confirmation]= user[email][]= in application/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/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.

POST /users/password
(?i)^/users/password(?:[?#].*)?$
GET /users/password/new
(?i)^/users/password/new(?:[?#].*)?$
GET /mailbox/
(?i)^/mailbox/\?(?:.*&)?action=readMessageFull.*\{var\}=
POST /mailbox
(?i)^/mailbox(?:[?#].*)?$
GET /users/sign_in
(?i)^/users/sign_in(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /users/password
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;)
GET /users/password/new
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;)
GET /mailbox/
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;)
POST /mailbox
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;)
GET /users/sign_in
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.

POST /users/password
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
GET /users/password/new
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
GET /mailbox/
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
POST /mailbox
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
GET /users/sign_in
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