CVE-2023-7028 in gitlab
The LogPulse agent checks every host for the vulnerable version of this software, so you see where the CVE is present.
What the vulnerability is
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.
Affected software: gitlab
Scores
- CVSS: 9.8 (critical)
- EPSS: 94.91% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2024-05-01
- Published: 2024-01-12
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): Yes, published
- Mitigation: Yes, see below
How to mitigate it
Upgrade GitLab to 16.7.2 or a fixed patch release and enforce 2FA (CVE-2023-7028)
Patch or upgrade. GitLab 16.7.2, 16.6.4 and 16.5.6 stop password reset mails going to an unverified second address; 2FA blocks a takeover even if a reset link leaks.
Applies to: GitLab CE/EE 16.1 to 16.7.1
- Check the GitLab version under Admin Area > Dashboard.
- Upgrade to 16.7.2, 16.6.4, 16.5.6 or later.
- Turn on mandatory two-factor authentication for all users, at least for admins.
- Search production_json.log for /users/password requests with more than one email value and reset affected accounts.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.