β¬’ DragonFlyBSD Kernel Audit
← triage Β· dashboard
DF-0409

Unprivileged users can install IP source-route options (LSRR/SSRR) without privilege check

Summary

ip_ctloutput IP_OPTIONS(:1097-1118) accepts LSRR/SSRR from any socket owner with no priv_check/cap check. ip_pcbopts(:1374-1402) happily installs source-routed options. Unprivileged user emits source-routed packets -> ARP/IP spoofing, ingress-filter bypass. Modern BSDs/Linux require privilege. Policy/hardening gap.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-0409 Β· 1 files
FileTypeDescriptionSize
manifest.json file 394 B view raw

Fix verification

not_testable
baseline reproduced→ patch + rebuild →patched clean

recommended fix identified; fix.diff not authored/validated in this batch

recommended fix identified; fix.diff not authored/validated in this batch
combined build rc=0

Confirmed kernel references

β€”

Detail

Exploit chain

none (Info severity)

Evidence (decisive lines)

Source-confirmed at sys/netinet/ip_output.c:1097: unprivileged users can install IP source-route options (LSRR/SSRR)

Verified recommended fix

Source-confirmed at sys/netinet/ip_output.c:1097: unprivileged users can install IP source-route options (LSRR/SSRR)

Verdict

Source-confirmed at sys/netinet/ip_output.c:1097: unprivileged users can install IP source-route options (LSRR/SSRR)