GLSA-200801-14 : Blam: User-assisted execution of arbitrary code

medium Nessus Plugin ID 30119
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200801-14 (Blam: User-assisted execution of arbitrary code)

The '/usr/bin/blam' script sets the 'LD_LIBRARY_PATH' environment variable incorrectly, which might result in the current working directory (.) being included when searching for dynamically linked libraries of the Mono Runtime application.
Impact :

A local attacker could entice a user to run Blam in a directory containing a specially crafted library file which could result in the execution of arbitrary code with the privileges of the user running Blam.
Workaround :

Do not run Blam from an untrusted working directory.

Solution

All Blam users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-news/blam-1.8.4'

See Also

https://security.gentoo.org/glsa/200801-14

Plugin Details

Severity: Medium

ID: 30119

File Name: gentoo_GLSA-200801-14.nasl

Version: 1.15

Type: local

Published: 1/29/2008

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:blam, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/27/2008

Vulnerability Publication Date: 10/8/2005

Reference Information

CVE: CVE-2005-4790

GLSA: 200801-14