CVE-2010-2524

Priority
Medium
Description
The DNS resolution functionality in the CIFS implementation in the Linux
kernel before 2.6.35, when CONFIG_CIFS_DFS_UPCALL is enabled, relies on a
user's keyring for the dns_resolver upcall in the cifs.upcall userspace
helper, which allows local users to spoof the results of DNS queries and
perform arbitrary CIFS mounts via vectors involving an add_key call,
related to a "cache stuffing" issue and MS-DFS referrals.
Ubuntu-Description
David Howells discovered that DNS resolution in CIFS could be spoofed. A
local attacker could exploit this to control DNS replies, leading to a loss
of privacy and possible privilege escalation.
References
Notes
sbeattie> according to oss-security discussion, git commit 6103335de8afa5d780dcd512abe85c696af7b040
introduced the problem, so 2.6.25-rc1 onwards.
smb> Jaunty *may* be affected, but the problem is that there is no infra-
smb> structure for thread credentials, so even if it is possible to back-
smb> port the whole thing it would be completely different and prone to
smb> be incorrect. That together with the fact that Jaunty is EOL more or
smb> less I don't think we should put in much effort there.
Assigned-to
smb
Package
Upstream:needs-triage
Ubuntu 8.04 LTS (Hardy Heron):DNE
Ubuntu 10.04 LTS (Lucid Lynx):released (2.6.31-608.22)
Ubuntu 11.04 (Natty Narwhal):DNE
Package
Upstream:needs-triage
Ubuntu 8.04 LTS (Hardy Heron):DNE
Ubuntu 10.04 LTS (Lucid Lynx):released (2.6.35-25.44~lucid1)
Ubuntu 11.04 (Natty Narwhal):DNE
Package
Upstream:needs-triage
Ubuntu 8.04 LTS (Hardy Heron):DNE
Ubuntu 10.04 LTS (Lucid Lynx):DNE
Ubuntu 11.04 (Natty Narwhal):DNE
Package
Upstream:needs-triage
Ubuntu 8.04 LTS (Hardy Heron):DNE
Ubuntu 10.04 LTS (Lucid Lynx):released (2.6.32-309.18)
Ubuntu 11.04 (Natty Narwhal):DNE
Package
Source: linux (LP Ubuntu Debian)
Upstream:released (2.6.35)
Ubuntu 8.04 LTS (Hardy Heron):not-affected (2.6.24)
Ubuntu 10.04 LTS (Lucid Lynx):released (2.6.32-25.43)
Ubuntu 11.04 (Natty Narwhal):not-affected (2.6.35)
Patches:
upstream:http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4c0c03ca54f72fdd5912516ad0a23ec5cf01bda7
Karmic:http://chinstrap.ubuntu.com/~smb/CVEs/CVE-2010-2524/patches/karmic/linux/0001-CIFS-Fix-a-malicious-redirect-problem-in-the-DNS-looku.txt
More Information

Valid XHTML 1.0 Strict

Updated: 2012-06-01 15:21:10 UTC (commit 5347)