From owner-freebsd-security@FreeBSD.ORG Wed Oct 22 09:07:01 2008 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C86E3106566B for ; Wed, 22 Oct 2008 09:07:01 +0000 (UTC) (envelope-from andy.kosela@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4E18FC12 for ; Wed, 22 Oct 2008 09:07:01 +0000 (UTC) (envelope-from andy.kosela@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2507577rvf.43 for ; Wed, 22 Oct 2008 02:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=bQAk+Jp62W2ZSb797rW1XRWIZSpkImdTXCkjSjBvQew=; b=bZgUfVXGh+uuiJv6LyxyLQ+XXEaYhiiXKLUf6Bfm9JtI87k8dAkSLD57pvV8lEqWAG i/VHA7o4uD9pr6O2f35qJcTfXsulFTHLhU296+4JTc2eGY96eysMDoR/eFFdQlPFTfF/ e+ixd2/lPAN+BbH39LKbiO0az4rDgkIBycw/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=MrY5h/ji/U4D7JvjX8Ln3hKT4i7B6i/eV8z4LcYJglmR1K8m0CTkX8p+EabSWC/4v/ WixsGutVERpTYvQCDtz7StH1ms3hy/OmxsY7evNKo1wpD5zb4ywSnrTvEUAwIXkr683L x90IzF5QSvfVP1GKmqwW6wwwktp6WmmyRInsY= Received: by 10.141.29.18 with SMTP id g18mr6273557rvj.162.1224664653970; Wed, 22 Oct 2008 01:37:33 -0700 (PDT) Received: by 10.140.177.10 with HTTP; Wed, 22 Oct 2008 01:37:33 -0700 (PDT) Message-ID: <3cc535c80810220137g4afec193h947a0886b43a3a62@mail.gmail.com> Date: Wed, 22 Oct 2008 10:37:33 +0200 From: "Andy Kosela" Sender: andy.kosela@gmail.com To: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Google-Sender-Auth: 3f811017b8920636 Subject: [Fwd: Kaminsky redux - libspf2 dns parsing bug] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 09:07:01 -0000 Some of you probably already heard about this... >From Kaminsky's http://www.doxpara.com/?p=3D1263 ------ I really need to learn to leave DNS alone :) DNS TXT Record Parsing Bug in LibSPF2 A relatively common bug parsing TXT records delivered over DNS, dating at least back to 2002 in Sendmail 8.2.0 and almost certainly much earlier, has been found in LibSPF2, a library frequently used to retrieve SPF (Sender Policy Framework) records and apply policy according to those records. This implementation flaw allows for relatively flexible memory corruption, and should thus be treated as a path to anonymous remote code execution. Of particular note is that the remote code execution would occur on servers specifically designed to receive E-Mail from the Internet, and that these systems may in fact be high volume mail exchangers. This creates privacy implications. It is also the case that a corrupted email server is a useful "jumping off" point for attackers to corrupt desktop machines, since attachments can be corrupted with malware while the containing message stays intact. So there are internal security implications as well, above and beyond corruption of the mail server on the DMZ. Apparently LibSPF2 is actually used to secure quite a bit of mail traffic =96 there's a lot of SPAM out there. Fix is out, see http://www.libspf2.org/index.html or your friendly neighborhood distro. Thanks to Shevek, CERT (VU#183657), Ken Simpson of MailChannels, Andre Engel, Scott Kitterman, and Hannah Schroeter for their help with this. ------ --=20 Andy Kosela ora et labora