Debian DSA-1828-1 : ocsinventory-agent - insecure module search path

high Nessus Plugin ID 44693

Language:

Synopsis

The remote Debian host is missing a security-related update.

Description

It was discovered that the ocsinventory-agent which is part of the ocsinventory suite, a hardware and software configuration indexing service, is prone to an insecure perl module search path. As the agent is started via cron and the current directory (/ in this case) is included in the default perl module path the agent scans every directory on the system for its perl modules. This enables an attacker to execute arbitrary code via a crafted ocsinventory-agent perl module placed on the system.

The oldstable distribution (etch) does not contain ocsinventory-agent.

Solution

Upgrade the ocsinventory-agent packages.

For the stable distribution (lenny), this problem has been fixed in version 1:0.0.9.2repack1-4lenny1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506416

https://www.debian.org/security/2009/dsa-1828

Plugin Details

Severity: High

ID: 44693

File Name: debian_DSA-1828.nasl

Version: 1.10

Type: local

Agent: unix

Published: 2/24/2010

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ocsinventory-agent, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 7/7/2009

Reference Information

CVE: CVE-2009-0667

DSA: 1828