Remote code execution via unchecked screenshot filenames
Published Jul 22, 2024 · Updated Aug 4, 2024
Path traversal in Even Balance PunkBuster pbsv.d64 2.351 allows remote authenticated users to execute code through a screenshot reply. The server validates traversal sequences only when a client-supplied screenshot filename ends in .png, then joins unchecked non-PNG names to its screenshot path and writes the supplied bytes. A connected game client can therefore replace any writable file, enabling code execution when a replaced executable module is loaded.
Summary
What happened
Path traversal in Even Balance PunkBuster pbsv.d64 2.351 allows remote authenticated users to execute code through a screenshot reply. The server validates traversal sequences only when a client-supplied screenshot filename ends in .png, then joins unchecked non-PNG names to its screenshot path and writes the supplied bytes. A connected game client can therefore replace any writable file, enabling code execution when a replaced executable module is loaded.
The record
- CVE
- CVE-2020-24102
- Published
- Jul 22, 2024
- Updated
- Aug 4, 2024
- Vendor
- Even Balance, Inc.
- Product
- PunkBuster
- Classifications
- CWE-22, CAPEC-126, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 22, 2024CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=2.351
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
- PunkBuster screenshot filename traversal demonstrationproof of concept · demonstrated
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