Arbitrary file overwrite via trusted node names
Published Jan 31, 2023 · Updated Mar 26, 2025
Path traversal in UBI Reader before 0.8.5 allows local users to overwrite files outside the extraction directory via a crafted UBIFS image. The extractor trusts dent_node.name, joins it to the output directory without traversal validation, and writes node content to the resulting path. Exploitation requires a user to process the image, and overwrite is limited to files writable by the process.
Summary
What happened
Path traversal in UBI Reader before 0.8.5 allows local users to overwrite files outside the extraction directory via a crafted UBIFS image. The extractor trusts dent_node.name, joins it to the output directory without traversal validation, and writes node content to the resulting path. Exploitation requires a user to process the image, and overwrite is limited to files writable by the process.
The record
- CVE
- CVE-2023-0591
- Published
- Jan 31, 2023
- Updated
- Mar 26, 2025
- Vendor
- UBI Reader Project
- Product
- UBI Reader
- Classifications
- CWE-22, CAPEC-126, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 31, 2023CVE publishedPublication date reported by the CVE source.
- Mar 26, 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=0 <0.8.5
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
- UBI Reader path-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