Re: FreeBSD Security Advisory FreeBSD-SA-22:15.ping

From: mike tancsa <mike_at_sentex.net>
Date: Wed, 30 Nov 2022 22:03:10 UTC
On 11/30/2022 4:58 PM, Dev Null wrote:
>
> Easily to exploit in a test environment, but difficult to be exploited 
> in the wild, since the flaw only can be exploited in the ICMP reply, 
> so the vulnerable machine NEEDS to make an ICMP request first.
>
> The attacker in this case, send a short reader in ICMP reply.
>
Lets say you know that some device regularly pings, say 8.8.8.8 as part 
of some connectivity check. If there is no stateful firewall, can the 
attacker not just forge the reply on the chance their attack packet 
could get there first ?  Or if its the case of "evil ISP" in the middle, 
it becomes even easier. At that point, how easy is it to actually do 
some sort of remote code execution. The SA implies there are mitigating 
techniques on the OS and in the app.  I guess its that last part I am 
mostly unclear of, how difficult is the RCE if given the first 
requirement as a given.

     ---Mike