Code execution via unchecked URL credential decoding
Published Feb 18, 2020 · Updated Aug 4, 2024
Heap buffer overflow in FreeBSD allows remote attackers to execute code through an attacker-controlled URL containing credentials. The libfetch URL decoder copies percent-decoded username or password bytes into a heap buffer without enforcing the destination length. The attacker must control a fetched URL directly or through an HTTP redirect; successful corruption can crash the consuming program or execute code in its context.
Summary
What happened
Heap buffer overflow in FreeBSD allows remote attackers to execute code through an attacker-controlled URL containing credentials. The libfetch URL decoder copies percent-decoded username or password bytes into a heap buffer without enforcing the destination length. The attacker must control a fetched URL directly or through an HTTP redirect; successful corruption can crash the consuming program or execute code in its context.
The record
- CVE
- CVE-2020-7450
- Published
- Feb 18, 2020
- Updated
- Aug 4, 2024
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-787, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 18, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=11.3-RELEASE before 11.3-RELEASE-p6
- Affected versionversion=11.3-STABLE before r357214
- Affected versionversion=12.0-RELEASE before 12.0-RELEASE-p13
- Affected versionversion=12.1-RELEASE before 12.1-RELEASE-p2
- Affected versionversion=12.1-STABLE before r357213
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.
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