CVE-2023-24287
NoneCVSS
—
EPSS
0.1%
Published
Apr 24, 2023
CISA due date
—
Cloudanix analysis
A specially made saved game file could make an app or game behave unexpectedly, potentially allowing someone to take over the system.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Other
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Other
- Effort
- Other
- Patch risk
- Other
What it actually does
A crafted save file triggers a buffer overrun in the Undead puzzle handling logic, resulting in memory corruption that may enable arbitrary code execution or application crashes.
Why it matters to the business
Processing untrusted save files in affected applications can lead to crashes, data corruption, or full system compromise, increasing risk for any software that loads external puzzle data.
How an attack unfolds
An attacker crafts a malicious save file that overflows the buffer during Undead puzzle parsing. The file is delivered to a victim who loads it in the vulnerable application, causing the overflow to corrupt memory and potentially execute attacker-supplied code.
How to fix it
Apply vendor patches for the buffer handling code as they become available. Implement strict bounds checking and input sanitization on all save file parsing routines. Consider sandboxing or isolating file processing components.
How to confirm the fix worked
Test save file loading with both benign and oversized crafted inputs to confirm absence of overflows. Monitor application logs for crashes during puzzle deserialization after applying fixes.
Typical attack path
- Craft a malicious save file containing oversized puzzle data
- Deliver the file via email, download, or shared storage
- Victim opens the file in the vulnerable application
- Buffer overrun occurs during puzzle deserialization
- Memory corruption leads to code execution or denial of service
How to detect it
Review application logs for crashes or errors during save file parsing of puzzle data. Monitor file system activity for unexpected save files being loaded from untrusted sources.
What your security team should do
- Prioritize patching once fixed versions are released due to the buffer overflow class
- Restrict loading of untrusted save files until mitigation is in place
- Add runtime protections such as ASLR and stack canaries if not already enabled
- Update detection rules to flag anomalous puzzle save file sizes
The record
[A crafted save file can cause a buffer overrun in the Undead puzzle]
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:18.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:20.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:22.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | sgt-puzzles | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | sgt-puzzles | 0 | No fix |
Related vulnerabilities
- CVE-2023-24284 [A crafted save file can cause a buffer overrun in the Guess puzzle] Also affects sgt-puzzles
- CVE-2023-24291 [A crafted save file can cause a buffer overrun in Simon Tathams Portable Puzzle… Also affects sgt-puzzles
- CVE-2023-24285 [A crafted save file can cause a buffer overrun in the Netslide puzzle] Also affects sgt-puzzles
- CVE-2023-24288 [A crafted save file can cause a buffer overrun in Simon Tathams Portable Puzzle… Also affects sgt-puzzles
- CVE-2023-24286 [A crafted save file can cause a buffer overrun in the Mosaic puzzle] Also affects sgt-puzzles
- CVE-2023-24283 [A crafted save file can cause a buffer overrun in the Guess puzzle] Also affects sgt-puzzles