FreeBSD : gitlab -- privilege escalation via 'impersonate' feature (be72e773-1131-11e6-94fa-002590263bf5)

Medium Nessus Plugin ID 90877

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

GitLab reports :

During an internal code review, we discovered a critical security flaw in the 'impersonate' feature of GitLab. Added in GitLab 8.2, this feature was intended to allow an administrator to simulate being logged in as any other user.

A part of this feature was not properly secured and it was possible for any authenticated user, administrator or not, to 'log in' as any other user, including administrators. Please see the issue for more details.

Solution

Update the affected packages.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209225

https://about.gitlab.com/2016/05/02/cve-2016-4340-patches/

https://gitlab.com/gitlab-org/gitlab-ce/issues/15548

http://www.nessus.org/u?110f87f4

Plugin Details

Severity: Medium

ID: 90877

File Name: freebsd_pkg_be72e773113111e694fa002590263bf5.nasl

Version: 2.5

Type: local

Published: 2016/05/04

Updated: 2019/04/11

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.5

Temporal Score: 5.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:gitlab, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2016/05/03

Vulnerability Publication Date: 2016/05/02

Reference Information

CVE: CVE-2016-4340