Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-4170 EUVD-2010-4146GHSA-j34m-wwxr-2pj4

The staprun runtime tool in SystemTap 1.3 does not properly clear the environment before executing modprobe, which allows local users to ga…

Published Dec 7, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

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 MODPROBE_OPTIONS environment variable to specify a malicious configuration file.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemtap 1.2-3 —
Debian 13 systemtap 1.2-3 —
Debian 12 systemtap 1.2-3 —
Debian 6.0 systemtap 1.2-5+squeeze1 DSA-2348-1
ReleasePackageFixed inAdvisory
RHEL 6 systemtap +7 1.2-11.el6_0 RHSA-2010:0894
RHEL 5 systemtap +6 1.1-3.el5_5.3 RHSA-2010:0894
RHEL 4 systemtap +2 0.6.2-2.el4_8.3 RHSA-2010:0895

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References