CVE-2012-3411: Input Validation

Published Jun 18, 2012
·
Updated

Dnsmasq before 2.63test1, when used with certain libvirt configurations, replies to requests from prohibited interfaces, which allows remote attackers to cause a denial of service (traffic amplification) via a spoofed DNS query.

Other sources

I just found my home ADSL line under "attack" with a constant stream of spoofed DNS queries which produce large results, such as 'ANY' requests for 'ripe.net'.

I was surprised to find that my machine was actually responding to these queries.

I have libvirt configured to give a range of public IP addresses to its guests. The target of the attack was the host's IP address on that subnet, 81.187.2.161.

It seems that your dnsmasq instance is listening on that address, but not correctly discarding packets which come from a different interface. Even though the --bind-interface option is set. This is the command line:

/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/net3.pid --conf-file= --except-interface lo --listen-address 81.187.2.161 --dhcp-range 81.187.2.168,81.187.2.174 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/net3.leases --dhcp-lease-max=7 --dhcp-no-override

I tried using '--interface virbr1' instead of '--except-interface lo', but it still seemed to answer external queries:

/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/net3.pid --conf-file= --interface virbr1 --listen-address 81.187.2.161 --dhcp-range 81.187.2.168,81.187.2.174 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/net3.leases --dhcp-lease-max=7 --dhcp-no-override

Affected Software

4 affected components
thekelleys dnsmasq<=2.62
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0

Event History

Jun 18, 2012
Data Sourced
12:31 PM
DescriptionSeverityAffected Software
Mar 4, 2013
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-3411?

CVE-2012-3411 has a severity associated with denial of service due to potential traffic amplification.

2

How do I fix CVE-2012-3411?

To fix CVE-2012-3411, update to a version of dnsmasq newer than 2.63test1.

3

Who is affected by CVE-2012-3411?

CVE-2012-3411 affects users of dnsmasq versions prior to 2.63test1, especially with specific libvirt configurations.

4

What type of attack does CVE-2012-3411 facilitate?

CVE-2012-3411 facilitates denial of service attacks through traffic amplification via spoofed DNS queries.

5

Is CVE-2012-3411 a local or remote vulnerability?

CVE-2012-3411 is a remote vulnerability that allows attackers to exploit it from a distance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203