Local data corruption via residual input consumption
Published Dec 9, 2024 · Updated Dec 12, 2024
Improper input validation in SourceCodester Phone Contact Manager System 1.0 allows local users to corrupt stored contact data. MenuDisplayStart reads a numeric menu choice with std::cin extraction but fails to discard trailing characters before getline assigns them to name. A local low-privilege user can supply mixed numeric and character input so Users::checkIn writes attacker-controlled residual text to Users.txt, corrupting stored data.
Summary
What happened
Improper input validation in SourceCodester Phone Contact Manager System 1.0 allows local users to corrupt stored contact data. MenuDisplayStart reads a numeric menu choice with std::cin extraction but fails to discard trailing characters before getline assigns them to name. A local low-privilege user can supply mixed numeric and character input so Users::checkIn writes attacker-controlled residual text to Users.txt, corrupting stored data.
The record
- CVE
- CVE-2024-12353
- Published
- Dec 9, 2024
- Updated
- Dec 12, 2024
- Vendor
- Online Computer and Laptop Store Project
- Product
- Phone Contact Manager System
- Classifications
- CWE-20, T1565.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 9, 2024CVE publishedPublication date reported by the CVE source.
- Dec 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=1.0
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
- Mixed-input buffer pollution 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