Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-F140CFF0-771A-11EF-9A62-002590C1F29C (CVE-2024-6640): FreeBSD -- pf incorrectly matches different ICMPv6 states in the state table

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-F140CFF0-771A-11EF-9A62-002590C1F29C (CVE-2024-6640): FreeBSD -- pf incorrectly matches different ICMPv6 states in the state table

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
08/07/2024
Created
09/24/2024
Added
09/22/2024
Modified
09/22/2024

Description

In ICMPv6 Neighbor Discovery (ND), the ID is always 0. When pf is configured to allow ND and block incoming Echo Requests, a crafted Echo Request packet after a Neighbor Solicitation (NS) can trigger an Echo Reply. The packet has to come from the same host as the NS and have a zero as identifier to match the state created by the Neighbor Discovery and allow replies to be generated.

ICMPv6 packets with identifier value of zero bypass firewall rules written on the assumption that the incoming packets are going to create a state in the state table.

Solution(s)

  • freebsd-upgrade-base-13_3-release-p5
  • freebsd-upgrade-base-14_0-release-p9
  • freebsd-upgrade-base-14_1-release-p3

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;