CVE-2010-4170: High severity SystemTap SystemTap vulnerability
It was found that systemtap runtime tool (staprun) did not handle the loading of user specified modules securely. A local attacker could use this flaw to escalate their privileges.
References: [1] http://sources.redhat.com/ml/systemtap/2010-q4/msg00230.html
Upstream changeset: [2] http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=commit;h=b7565b41228bea196cefa3a7d43ab67f8f9152e2
Acknowledgements:
Red Hat would like to thank Tavis Ormandy for reporting this issue.
Other sources
The staprun runtime tool in SystemTap 1.3 does not properly clear the environment before executing modprobe, which allows local users to gain privileges by setting the MODPROBEOPTIONS environment variable to specify a malicious configuration file.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch b7565b41228bea196cefa3a7d43ab67f8f9152e2
Event History
Frequently Asked Questions
What is the severity of CVE-2010-4170?
CVE-2010-4170 is classified with medium severity due to potential local privilege escalation.
How do I fix CVE-2010-4170?
To fix CVE-2010-4170, upgrade SystemTap to a version newer than 1.3 that addresses this vulnerability.
Who is affected by CVE-2010-4170?
Local users running SystemTap version 1.3 are affected by CVE-2010-4170.
What type of vulnerability is CVE-2010-4170?
CVE-2010-4170 is a local privilege escalation vulnerability.
What can an attacker do with CVE-2010-4170?
An attacker can gain elevated privileges by manipulating the MODPROBE_OPTIONS environment variable.