GLSA-201310-01 : Perl Module-Signature module: Arbitrary code execution

medium Nessus Plugin ID 70307

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-201310-01 (Perl Module-Signature module: Arbitrary code execution)

The ‘cpansign verify’ command will automatically download keys and use them to check the signature of CPAN packages via the SIGNATURE file.
If an attacker were to replace this (SHA1) with a special unknown cipher (e.g. ‘Special’) and were to include in the distribution a ‘Digest/Special.pm’, the code in this Perl module would be executed when ‘cpansign -verify’ is run.
Impact :

A remote attacker could possibly execute arbitrary code with the privileges of the process.
Workaround :

There is no known workaround at this time.

Solution

All users of the Module-Signature Perl module should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-perl/Module-Signature-0.720.0'

See Also

https://security.gentoo.org/glsa/201310-01

Plugin Details

Severity: Medium

ID: 70307

File Name: gentoo_GLSA-201310-01.nasl

Version: 1.7

Type: local

Published: 10/6/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:module-signature, cpe:/o:gentoo:linux

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/4/2013

Reference Information

CVE: CVE-2013-2145

BID: 60352

GLSA: 201310-01