Arbitrary file write via unnormalized archive paths
Published Jan 24, 2023 · Updated Apr 1, 2025
Path traversal in HL7 FHIR Core Libraries before 5.6.92 allows man-in-the-middle attackers to write files outside extraction directories. Scanner.java appends unvalidated ZIP entry names to the destination path, while TerminologyCacheManager checks a path string that Utilities.path does not normalize. Exploitation requires control of a crafted ZIP or TGZ archive, including through interception of HTTP-downloaded resources, and permits arbitrary file writes with the library process's permissions.
Summary
What happened
Path traversal in HL7 FHIR Core Libraries before 5.6.92 allows man-in-the-middle attackers to write files outside extraction directories. Scanner.java appends unvalidated ZIP entry names to the destination path, while TerminologyCacheManager checks a path string that Utilities.path does not normalize. Exploitation requires control of a crafted ZIP or TGZ archive, including through interception of HTTP-downloaded resources, and permits arbitrary file writes with the library process's permissions.
The record
- CVE
- CVE-2023-24057
- Published
- Jan 24, 2023
- Updated
- Apr 1, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-22, T1557
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 24, 2023CVE publishedPublication date reported by the CVE source.
- Apr 1, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- Crafted archive entry path proof of conceptproof of concept · unverified
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