bin/188428: MITM attacks against portsnap
David Noel
david.i.noel at gmail.com
Thu Apr 10 16:20:00 UTC 2014
>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 its 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:
More information about the freebsd-bugs
mailing list