CVE-2023-24288
NoneCVSS
—
EPSS
0.1%
Published
Apr 24, 2023
CISA due date
—
Cloudanix analysis
A bug in a free puzzle game collection lets attackers run harmful code if someone opens a specially made game save file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Other
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
A crafted save file triggers a buffer overrun, resulting in memory corruption that can lead to arbitrary code execution within the puzzle application process.
Why it matters to the business
Successful exploitation on systems running the niche puzzle collection could allow attackers to run malicious code, though overall risk remains low due to limited adoption and no observed widespread campaigns.
How an attack unfolds
An attacker generates a maliciously crafted save file targeting one of the supported puzzle types. The victim is enticed to load the file, causing the buffer overrun during parsing and enabling code execution in the context of the game process.
How to fix it
Apply any available upstream patches addressing the buffer overrun or rebuild from source with input sanitization for save files; avoid loading untrusted save files until fixed.
How to confirm the fix worked
Attempt to load known malicious save files in a controlled environment to verify absence of crashes or memory corruption, and confirm updated builds reject malformed input.
Typical attack path
- Create a malformed save file exploiting insufficient bounds checking
- Distribute the file via email, download link, or shared storage
- Victim opens the file in the vulnerable puzzle collection application
- Buffer overrun occurs during save parsing, leading to code execution
How to detect it
Review application crash logs or memory dumps for signs of buffer overruns when loading puzzle save files; inspect for unexpected process behavior or external connections initiated by the game binary.
What your security team should do
- Restrict execution of the puzzle collection to trusted save files only
- Monitor vendor or community channels for security updates
- Sandbox the application if continued use is required
The record
[A crafted save file can cause a buffer overrun in Simon Tatham's Portable Puzzle Collection]
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-24287 [A crafted save file can cause a buffer overrun in the Undead 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-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