Authenticated account takeover via time-derived temporary passwords
Published Nov 11, 2024 · Updated Nov 12, 2024
A password-reset race in Run.codes 1.5.2 and earlier allows remote authenticated users to take over accounts via concurrent recovery requests. UsersController.php derives each temporary password as SHA-1 of the current Unix time plus a fixed application salt, so same-second requests for two accounts receive an identical password. Any account and control of its email inbox are required to learn that shared temporary password, which can then authenticate to the victim account.
Summary
What happened
A password-reset race in Run.codes 1.5.2 and earlier allows remote authenticated users to take over accounts via concurrent recovery requests. UsersController.php derives each temporary password as SHA-1 of the current Unix time plus a fixed application salt, so same-second requests for two accounts receive an identical password. Any account and control of its email inbox are required to learn that shared temporary password, which can then authenticate to the victim account.
The record
- CVE
- CVE-2024-48322
- Published
- Nov 11, 2024
- Updated
- Nov 12, 2024
- Vendor
- Run.codes
- Product
- Run.codes
- Classifications
- CWE-367, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 11, 2024CVE publishedPublication date reported by the CVE source.
- Nov 12, 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=0 <1.5.2
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
- CVE-2024-48322 pay.py proof of conceptproof of concept · unverified
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