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

Related Vulnerabilities: CVE-2009-0667  

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. For the stable distribution (lenny), this problem has been fixed in version 1:0.0.9.2repack1-4lenny1. For the testing distribution (squeeze), this problem has been fixed in version 1:0.0.9.2repack1-5 For the unstable distribution (sid), this problem has been fixed in version 1:0.0.9.2repack1-5. We recommend that you upgrade your ocsinventory-agent packages.

Debian Security Advisory

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

Date Reported:
07 Jul 2009
Affected Packages:
ocsinventory-agent
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 506416.
In Mitre's CVE dictionary: CVE-2009-0667.
More information:

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.

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

For the testing distribution (squeeze), this problem has been fixed in version 1:0.0.9.2repack1-5

For the unstable distribution (sid), this problem has been fixed in version 1:0.0.9.2repack1-5.

We recommend that you upgrade your ocsinventory-agent packages.

Fixed in:

Debian GNU/Linux 5.0 (lenny)

Source:
http://security.debian.org/pool/updates/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-4lenny1.dsc
http://security.debian.org/pool/updates/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1.orig.tar.gz
http://security.debian.org/pool/updates/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-4lenny1.diff.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/o/ocsinventory-agent/ocsinventory-agent_0.0.9.2repack1-4lenny1_all.deb

MD5 checksums of the listed files are available in the original advisory.