Private repository disclosure via search count oracle
Published Jun 26, 2024 · Updated Sep 17, 2024
Authorization bypass in GitLab EE 16.11 before 16.11.5, 17.0 before 17.0.3, and 17.1 before 17.1.1 allows remote attackers to read private code. The /search/count endpoint includes matches from private repositories inside public projects, creating a search-hit oracle that reveals matching content character by character. Exploitation requires a public project containing a private repository, but requires neither authentication nor user interaction and does not modify repository data.
Summary
What happened
Authorization bypass in GitLab EE 16.11 before 16.11.5, 17.0 before 17.0.3, and 17.1 before 17.1.1 allows remote attackers to read private code. The /search/count endpoint includes matches from private repositories inside public projects, creating a search-hit oracle that reveals matching content character by character. Exploitation requires a public project containing a private repository, but requires neither authentication nor user interaction and does not modify repository data.
The record
- CVE
- CVE-2024-6323
- Published
- Jun 26, 2024
- Updated
- Sep 17, 2024
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-863, T1213.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 26, 2024CVE publishedPublication date reported by the CVE source.
- Sep 17, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=16.11.0 <16.11.5
- Affected versionversion=17.0.0 <17.0.3
- Affected versionversion=17.1.0 <17.1.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Search-count character oracle scriptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo