Cross-site scripting via unescaped Host header
Published Jan 5, 2023 · Updated Aug 3, 2024
Cross-site scripting in Michael Snoyman's Keter 1.8.0 and 1.8.1 allows remote authenticated users to execute script via a spoofed Host header. The defaultUnknownHostBody function inserts the unrecognized Host value directly into the missing-host HTML response without escaping it. Exploitation requires access sufficient to submit the spoofed header and user interaction with that response; successful exploitation runs attacker-supplied markup in the victim's browser.
Summary
What happened
Cross-site scripting in Michael Snoyman's Keter 1.8.0 and 1.8.1 allows remote authenticated users to execute script via a spoofed Host header. The defaultUnknownHostBody function inserts the unrecognized Host value directly into the missing-host HTML response without escaping it. Exploitation requires access sufficient to submit the spoofed header and user interaction with that response; successful exploitation runs attacker-supplied markup in the victim's browser.
The record
- CVE
- CVE-2022-4877
- Published
- Jan 5, 2023
- Updated
- Aug 3, 2024
- Vendor
- Michael Snoyman
- Product
- Keter
- Classifications
- CWE-79, T1204.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 5, 2023CVE publishedPublication date reported by the CVE source.
- Aug 3, 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=1.8.0
- Affected versionversion=1.8.1
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
No public exploit references are available in this record.
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