Administrator takeover via predictable authentication secrets
Published Feb 7, 2023 · Updated Mar 10, 2025
Weak token generation in OneDev before 7.9.12 allows remote authenticated users to obtain administrator privileges via predicted secrets. Access-token and password-reset call sites use RandomStringUtils without a cryptographically secure random source; the patch routes secret generation through SecureRandom. A normal account is sufficient, while enabled self-registration makes the attack reachable without a preexisting account and successful prediction grants administrator control.
Summary
What happened
Weak token generation in OneDev before 7.9.12 allows remote authenticated users to obtain administrator privileges via predicted secrets. Access-token and password-reset call sites use RandomStringUtils without a cryptographically secure random source; the patch routes secret generation through SecureRandom. A normal account is sufficient, while enabled self-registration makes the attack reachable without a preexisting account and successful prediction grants administrator control.
The record
- CVE
- CVE-2023-24828
- Published
- Feb 7, 2023
- Updated
- Mar 10, 2025
- Vendor
- OneDev Pty
- Product
- OneDev
- Classifications
- CWE-338, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 7, 2023CVE publishedPublication date reported by the CVE source.
- Mar 10, 2025Record 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=< 7.9.12
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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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