Unauthenticated code execution via multipart chunk index
Published Feb 23, 2023 · Updated Jan 16, 2025
Out-of-bounds write in PTC ThingWorx Edge C SDK 2.2.12.1052 and earlier allows remote attackers to crash clients or execute code. The mulitpartMessageStoreEntry_Create function allocates a pointer array from chunkCount, then writes at attacker-controlled chunkId minus one without checking that the index is within that array. Exploitation requires a vulnerable client to initiate a ThingWorx WebSocket connection to a malicious server, which can then corrupt the client process and execute code in its application context.
Summary
What happened
Out-of-bounds write in PTC ThingWorx Edge C SDK 2.2.12.1052 and earlier allows remote attackers to crash clients or execute code. The mulitpartMessageStoreEntry_Create function allocates a pointer array from chunkCount, then writes at attacker-controlled chunkId minus one without checking that the index is within that array. Exploitation requires a vulnerable client to initiate a ThingWorx WebSocket connection to a malicious server, which can then corrupt the client process and execute code in its application context.
The record
- CVE
- CVE-2023-0755
- Published
- Feb 23, 2023
- Updated
- Jan 16, 2025
- Vendor
- PTC Inc.
- Product
- ThingWorx Industrial Connectivity
- Classifications
- CWE-129, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 23, 2023CVE publishedPublication date reported by the CVE source.
- Jan 16, 2025Record 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=All Versions
What conditions does exploitation require?
What is affected?
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
- ThingWorx malicious WebSocket server proof of conceptfunctional · 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