Description
In pf packet processing with a 'scrub fragment reassemble' rule, a packet containing multiple IPv6 fragment headers would be reassembled, and then immediately processed. That is, a packet with multiple fragment extension headers would not be recognized as the correct ultimate payload. Instead a packet with multiple IPv6 fragment headers would unexpectedly be interpreted as a fragmented packet, rather than as whatever the real payload is.
As a result, IPv6 fragments may bypass pf firewall rules written on the assumption all fragments have been reassembled and, as a result, be forwarded or processed by the host.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | 13.2-RELEASE – < p3, 12.4-RELEASE – < p5 | p3 |
Advisories 1
- WID-SEC-2023-2281 FreeBSD Project FreeBSD OS: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Sep 6, 2023
References
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:10.pf.asc vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/09/08/5
- http://www.openwall.com/lists/oss-security/2023/09/08/6
- http://www.openwall.com/lists/oss-security/2023/09/08/7
- https://security.netapp.com/advisory/ntap-20231221-0009/