FreeBSD Kernel NAT Out-Of-Bounds Read Information Disclosure Vulnerability
The FreeBSD kernel's NAT implementation fails to properly validate user-supplied data, causing an out-of-bounds read. A local attacker with authentication could disclose sensitive kernel memory and potentially combine this with other flaws to execute code in kernel context.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information on affected installations of FreeBSD Kernel. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
A local authenticated attacker could disclose sensitive kernel memory and, in conjunction with other vulnerabilities, potentially execute code in the kernel context.
What the attacker needed
Local access; authentication
The fix
FreeBSD issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a bug in the FreeBSD operating system's kernel, specifically in the code that handles network address translation (NAT), which rewrites network addresses. Because the kernel does not check the size of some data properly, it can read memory beyond the intended buffer, leaking sensitive information. An attacker who can already run code on the machine (with authentication) could use this leak to help build a more serious attack.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.