CVE Catalog

CVE-2006-0576

High
Published: Translated: NVD NIST

Summary

Untrusted search path vulnerability in opcontrol in OProfile 0.9.1 and earlier allows local users to execute arbitrary commands via a modified PATH pointing to malicious 'which' or 'dirname' programs. Although opcontrol is not normally setuid, common sudo usage makes this a serious issue.

Risk Assessment

The organization faces local privilege escalation risk, allowing an attacker to gain full system control if opcontrol is executed via sudo.

Recommendation

Upgrade OProfile to version 0.9.2 or later and restrict sudo access for opcontrol to trusted users only.

Related vulnerabilities

Original NVD description (English source)

Untrusted search path vulnerability in opcontrol in OProfile 0.9.1 and earlier allows local users to execute arbitrary commands via a modified PATH that references malicious (1) which or (2) dirname programs. NOTE: while opcontrol normally is not run setuid, a common configuration suggests accessing opcontrol using sudo. In such a context, this is a vulnerability.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS