Remotely triggered process termination in BACnet and DNS response handling
From CAT [email protected]
Nebula Security is reporting two remotely triggered process-termination issues in ZMap's response handling. A scanned endpoint can trigger either issue with a single UDP response, terminating the active scan.
We initially sent these reports to the project's published contact address,
[[email protected]](mailto:[email protected]), but the message was returned as undeliverable. We are contacting
you directly instead and hope this is an appropriate channel.
BACnet field-order mismatch
The BACnet response path adds the ICMP fields while the fieldset expects
udp_payload. A four-byte BACnet/VLC response triggers the mismatch, causinglog_fatal()to exit ZMap.DNS repeated-fieldset capacity
The DNS parser adds one nested fieldset for every question. A response with 128 questions reaches the fixed fieldset capacity, causing
log_fatal()to exit ZMap.
We reproduced both issues in ZMap 4.4.0 and at commit
217fcf70d7b507c0f69d993e2561c79ddedddb54 using CMake Release builds on
x86-64 Linux. Each build exits with status 1 while processing the responses.
This message has two attachments:
[zmap-bacnet-field-order-reproduction.zip](https://zmap-bacnet-field-order-reproduction.zip/)[zmap-dns-fieldset-capacity-reproduction.zip](https://zmap-dns-fieldset-capacity-reproduction.zip/)
Each attachment contains a detailed [REPORT.MD](https://report.md/) and a small Python server for
the loopback reproduction. The included report provides the matching ZMap scan
command and observed output.
We would appreciate tracking IDs for these reports. If the project publishes advisories, please credit "Nebula Security" as the reporter.
Regards,
Nebula Security
zmap-dns-fieldset-capacity-reproduction.zip zmap-bacnet-field-order-reproduction.zip
Source: zmap/zmap