Hidden-file disclosure via encoded path separator
Published Nov 1, 2024 · Updated Nov 1, 2024
Path traversal in Oak before 17.1.3 allows remote attackers to read hidden files within an application's configured served root. Context.send uses decodeComponent, leaving %2F encoded while isHidden checks only the first subpath; subsequent path resolution can reach nested dotfiles. The application must expose Context.send with hidden transfers disabled and store a requested secret under the configured root; the demonstrated consequence is read-only disclosure.
Summary
What happened
Path traversal in Oak before 17.1.3 allows remote attackers to read hidden files within an application's configured served root. Context.send uses decodeComponent, leaving %2F encoded while isHidden checks only the first subpath; subsequent path resolution can reach nested dotfiles. The application must expose Context.send with hidden transfers disabled and store a requested secret under the configured root; the demonstrated consequence is read-only disclosure.
The record
- CVE
- CVE-2024-49770
- Published
- Nov 1, 2024
- Updated
- Nov 1, 2024
- Vendor
- oakserver
- Product
- Oak
- Classifications
- CWE-35, CWE-22, T1005, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 1, 2024CVE publishedPublication date reported by the CVE source.
- Nov 1, 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=0 <17.1.3
- Affected versionversion=< 17.1.3
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
- Oak encoded-slash hidden-file disclosure 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