Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651664 - bootstrap-prefix.sh has non SSL "http://" URL links for domains, MITM possibility
Summary: bootstrap-prefix.sh has non SSL "http://" URL links for domains, MITM possibi...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Misc (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 03:39 UTC by Icarious
Modified: 2019-12-27 13:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Icarious 2018-03-27 03:39:26 UTC
hi, 

"https://gitweb.gentoo.org/repo/proj/prefix.git/plain/scripts/bootstrap-prefix.sh"
 
has the following download URL declarations without SSL.

1) http://dev.gentoo.org/~grobian/distfiles prefix-overlay-${PV}.tar.bz2

2) http://dev.gentoo.org/~redlizard/distfile/02_all_disable_modules_and_ssl.patch

3) GNU_URL=${XZ_URL:-http://tukaani.org} bootstrap_gnu xz 5.2.3 -- has https:// with auto-redirection

4) DISTFILES_URL=${DISTFILES_URL:-"http://dev.gentoo.org/~grobian/distfiles"}

5) GNU_URL=${GNU_URL:="http://ftp.gnu.org/gnu"} -- has https:// with auto-redirection.

6) GENTOO_MIRRORS=${GENTOO_MIRRORS:="http://distfiles.gentoo.org"} -- has 
https:// with improperly configured cert.

7) "http://rsync.prefix.bitzolder.nl" -- has https://

8) "http://www.opensource.apple.com/darwinsource/tarballs/other"  -- has https://

9) "http://pkg.oracle.com/solaris/release"


This drastically increases chances of a possible MITM and unauthorised URL based malicious package redirection or metadata logging while downloading the packages. Please rectify this and notify the domain host / admins where https is not available.
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2018-03-27 15:57:17 UTC
Assigned to prefix team.  This should be fixed, but it is their repo to manage.
Comment 2 Fabian Groffen gentoo-dev 2018-03-28 08:04:52 UTC
This is actually on purpose, because SSL isn't available during early bootstrap.