Arbitrary file overwrite via unsafe TAR extraction
Published Sep 22, 2023 · Updated Sep 25, 2024
Path traversal in Wind River VxWorks 6.9 and 7.0 allows attackers to overwrite files via an untrusted TAR archive. tarExtract accepts absolute paths and parent-directory segments, then writes archive members outside the intended extraction directory instead of rejecting or sanitizing them. Exploitation requires product code to pass attacker-controlled archives to tarExtract; elevated extraction privileges permit arbitrary file overwrite and system compromise.
Summary
What happened
Path traversal in Wind River VxWorks 6.9 and 7.0 allows attackers to overwrite files via an untrusted TAR archive. tarExtract accepts absolute paths and parent-directory segments, then writes archive members outside the intended extraction directory instead of rejecting or sanitizing them. Exploitation requires product code to pass attacker-controlled archives to tarExtract; elevated extraction privileges permit arbitrary file overwrite and system compromise.
The record
- CVE
- CVE-2023-38346
- Published
- Sep 22, 2023
- Updated
- Sep 25, 2024
- Vendor
- Wind River
- Product
- VxWorks
- Classifications
- CWE-22
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 22, 2023CVE publishedPublication date reported by the CVE source.
- Sep 25, 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=6.9
- Affected versionversion=7.0
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
- Pentagrid crafted TAR proof of conceptproof 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