Process crash via unchecked IP-option header copying
Published Feb 15, 2024 · Updated Oct 28, 2024
Stack-based buffer overflow in FreeBSD ping allows remote attackers to crash a running ping process through a malicious reply. The pr_pack() response parser copies IP and ICMP headers into fixed stack buffers without reserving space for IP options, permitting an overflow of up to 40 bytes. The local user must be running /sbin/ping toward the hostile host; privileges are already dropped and Capsicum confines the resulting process failure.
Summary
What happened
Stack-based buffer overflow in FreeBSD ping allows remote attackers to crash a running ping process through a malicious reply. The pr_pack() response parser copies IP and ICMP headers into fixed stack buffers without reserving space for IP options, permitting an overflow of up to 40 bytes. The local user must be running /sbin/ping toward the hostile host; privileges are already dropped and Capsicum confines the resulting process failure.
The record
- CVE
- CVE-2022-23093
- Published
- Feb 15, 2024
- Updated
- Oct 28, 2024
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-120, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 15, 2024CVE publishedPublication date reported by the CVE source.
- Oct 28, 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=12.3-RELEASE <p10
- Affected versionversion=12.4-RC2 <p2
- Affected versionversion=13.1-RELEASE <p5
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
- sh4den CVE-2022-23093 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