Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
Net::DNS uses a 16-bit query ID to match responses to the corresponding requests. In versions up to and including 1.57, the ID is obtained from Perl's built-in rand() function. An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted. The victim Net::DNS instance is then exposed to forged responses injected by the attacker. Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack.
A flaw was found in perl-net-dns. The package relies on a weak pseudo-random number generator (PRNG) to generate Domain Name System (DNS) query identifiers. A remote attacker who can observe DNS traffic can determine the generator's internal state and predict future query IDs. This predictability allows the attacker to inject forged DNS responses, leading to DNS spoofing and potential redirection of network traffic.

