FreeBSD : malicious URLs can cause git to send a stored credential to wrong server (67765237-8470-11ea-a283-b42e99a1b9c3)

high Nessus Plugin ID 137167

Language:

Synopsis

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

Description

git security advisory reports :

Git uses external 'credential helper' programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a 'blank' pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching any URL, and will return some unspecified stored password, leaking the password to an attacker's server.

Solution

Update the affected packages.

See Also

https://github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7

http://www.nessus.org/u?29e88225

Plugin Details

Severity: High

ID: 137167

File Name: freebsd_pkg_67765237847011eaa283b42e99a1b9c3.nasl

Version: 1.2

Type: local

Published: 6/5/2020

Updated: 6/9/2020

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:git, p-cpe:/a:freebsd:freebsd:git-gui, p-cpe:/a:freebsd:freebsd:git-lite, cpe:/o:freebsd:freebsd

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/22/2020

Vulnerability Publication Date: 4/20/2020

Reference Information

CVE: CVE-2020-11008