Illumos illumos-gate
SCTP needs to better-check INIT ACK chunk parameters
The illumos SCTP inbound path performs association lookup for INIT ACK chunks without adequately validating the address parameters carried in the chunk. Since this lookup runs during packet classification (i.e. before SCTP integrity checks or IPsec policy are applied) a remote, unauthenticated attacker can send a crafted SCTP INIT ACK packet with malformed address parameters to cause an out-of-bounds access and kernel heap corruption, which may lead to remote code execution. The flaw has existed since 2010 (illumos-gate commit a5407c02), and affects any illumos distribution prior to illumos-gate commit 53a3efde.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= a5407c02d5ed61b29481b9b71f1307d7ebec9e5c, < 53a3efdeff8e6745bbfb69c5360f94962fb79e75
Fixed in 53a3efdeff8e6745bbfb69c5360f94962fb79e75
- >= r151058, < r151058j
- >= r151056, < r151056aj
- >= r151054, < r151054bj
- >= any, < r151054
Fixed in r151058j, r151056aj, r151054bj, r151054
- >= any, < 202060709
Fixed in 202060709, 20260709
Mitigation
Update your illumos distro to one that includes 18117's fix.
Workaround
In order of recommendation: 1.) Hotpatch the faulty SCTP input path. See the illumos issue for the hotpatch technique. If the function to patch does not exist, the issue has been fixed. If the output does not match the illumos issue's output, contact developers@lists.illumos.org. 2.) Use ipfilter per-netstack or perimeter firewalls to drop SCTP packets. IMPORTANT NOTE: any entity inside an SCTP-dropping firewall perimeter can still attack.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.