Alpine Docker-beelden werden geleverd met lege wachtwoord van de “root” gebruiker

Veiligheid onderzoeken van Cisco bedrijf bekendgemaakt gegevens over de kwetsbaarheid CVE-2019-5021 in de samenstellen van Alpine distributieve voor Docker container isolatiesysteem.

The essence of identified problem is that for “root” user was by default set by empty password without blocking of direct entrance under “root”.

“Vanwege de aard van deze kwestie, systems deployed using affected versions of the Alpine Linux container that utilize Linux PAM, or some other mechanism that uses the system shadow file as an authentication database, may accept a NULL password for the root user”, - verslag Cisco Talos onderzoekers.

It is worth reminding that Alpine is used for creation of digital images in Docker project (earlier assemblies were based on Ubuntu, but later were transited on Alpine).

Problem manifested since Alpine Docker 3.3. assembly, and was caused by progressive change that was added in 2015 (tot 3.3 version in/etc/shadow was usedroot:!::0:::::line, and after cessation of-Dflag usage the lineroot:::0:::::began to be added.

Issue was initially detected and fixed in November 2015, but in a month by mistake raised in assembly files of the experimental branch, and later was transited in final assemblies.

“After discussions with Alpine Linux, it was discovered that this issue was also reported in their Github prior to our report, but was not flagged as a security issue and thus remained unresolved until it was rediscovered and reported by Cisco”, — say researchers.

In the details of the vulnerability stated that problem manifests in the latest branch Alpine Docker 3.9. Alpine developers in March 2019 launched a patch and vulnerability does not manifest in assemblies 3.9.2, 3.8.4, 3.7.3 En 3.6.5, but preserved in older branches 3.4.X En 3.5.X, that are not currently supported.

behalve, developers argue that vector for attack is quite narrow and attack should have access to same infrastructure.

verzachting

The root account should be explicitly disabled in Docker images built using affected versions as a base. The likelihood of exploitation of this vulnerability is environment-dependent, as successful exploitation requires that an exposed service or application utilise Linux PAM, or some other mechanism which uses the system shadow file as an authentication database.

Bron: https://talosintelligence.com/

Polina Lisovskaja

Ik werk al jaren als marketingmanager en zoek graag naar interessante onderwerpen voor jou

Laat een antwoord achter

Terug naar boven knop