Fedora Account System
Red Hat Associate
Red Hat Customer
A missing authorization check was found in dnsmasq's DHCPLEASEQUERY handler (src/rfc2131.c). When --leasequery is specified without an address argument, option parsing (src/option.c) sets OPT_LEASEQUERY but leaves daemon->leasequery_addr NULL. The source-address ACL is gated on leasequery_addr being non-NULL, so the check is skipped and any LAN host can send DHCPLEASEQUERY and receive lease records (IP, MAC, hostname, client ID, vendor class, relay agent ID). The feature is off by default. The man page documents the address argument as optional. This is closer to a hardening gap than a default-config vulnerability. Red Hat default package configurations do not enable --leasequery. Affected versions: v2.92 onwards. Feature not present in v2.91 and earlier. Fix: Not yet available (reporter coordinating with upstream). Reporter: Shubham Raj (Causal Security) PSIRT Ticket: PSIRTSUPT-23743