⬢ DragonFlyBSD Kernel Audit
DF-3301 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3301",
 "status": "reproduced",
 "reproduced": 1,
 "poc_path": "findings/poc/DF-3301",
 "artifact_dir": "findings/poc/DF-3301",
 "build_cmd": "cc -O -o <prog> <prog>.c   (on the guest)",
 "run_cmd": "(driver: ifconfig carp0 ... pass test123 + tcpdump)",
 "code_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
 "build_log": "(inline)",
 "run_log": "live4.log",
 "impact": "none",
 "confidence": "certain",
 "verdict": "CARP HMAC key = raw zero-padded ASCII passphrase, no KDF anywhere: four captured advertisements (vhid 1, pass test123) ALL authenticate under HMAC-SHA1 with key b\"test123\"+13x00 (construction recomputed independently from carp_hmac_prepare/generate). A user choosing a weak passphrase gets exactly its low-entropy bytes as a 20-byte HMAC key.",
 "exploit_chain": "",
 "evidence": "carp_verify.txt (fresh capture): 4/4 packets match HMAC(zero-padded ASCII); live4.log tcpdump lines",
 "kernel_refs": [
  "sys/netinet/ip_carp.c:2476-2538",
  "sys/netinet/ip_carp.c:504-554",
  "sys/netinet/ip_carp.c:556-575"
 ],
 "poc_changes": "",
 "attempts": 3,
 "guest_uname": "DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026  root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64",
 "runtime_sec": 60,
 "guest_dirty": 0,
 "runner": "df-bsd-reviewer",
 "notes": "",
 "recommended_fix": "",
 "fix_status": "not_testable",
 "fix_verdict": "Fix would be a KDF (e.g. SHA1-stretch) in ifconfig/carp key setup - a userland+kernel compatibility change, out of scope for a guest A/B here.",
 "fix_baseline_reproduced": null,
 "fix_patched_reproduced": null
}