Date: Thu, 10 Apr 2014 16:13:01 GMT From: David Noel <david.i.noel@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/188428: MITM attacks against portsnap Message-ID: <201404101613.s3AGD1jp065765@cgiserv.freebsd.org> Resent-Message-ID: <201404101620.s3AGK0S9039190@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188428 >Category: bin >Synopsis: MITM attacks against portsnap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 10 16:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: David Noel >Release: 9.2 >Organization: >Environment: >Description: Portsnap extracts fetched data prior to its SHA256 verification. The extraction libraries used have a long history of bugs so it’s reasonable to assume there might be more. Portsnap runs as root. Using a vulnerability in the decompression libraries an attacker who was MITM-capable could compromise any FreeBSD system running portsnap. >How-To-Repeat: >Fix: Solution summary: a re-working of the snapshot hashing and hash verification process. The functions of concern in portsnap.sh are fetch_snapshot(), fetch_update(), and fetch_snapshot_verify(). >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404101613.s3AGD1jp065765>