Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-1337 EUVD-2009-1335GHSA-w3gg-x9j7-v653

The exit_notify function in kernel/exit.c in the Linux kernel before 2.6.30-rc1 does not restrict exit signals when the CAP_KILL capability…

Published Apr 22, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

The exit_notify function in kernel/exit.c in the Linux kernel before 2.6.30-rc1 does not restrict exit signals when the CAP_KILL capability is held, which allows local users to send an arbitrary signal to a process by running a program that modifies the exit_signal field and then uses an exec system call to launch a setuid application.

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 5.0 linux-2.6 2.6.26-15lenny2 DSA-1800-1
Debian 5.0 user-mode-linux 2.6.26-1um-2+15lenny2 DSA-1800-1
Debian 4.0 fai-kernels 1.17+etch.24etch2 DSA-1794-1
Debian 4.0 linux-2.6 2.6.18.dfsg.1-24etch2 DSA-1794-1
Debian 4.0 linux-2.6.24 2.6.24-6~etchnhalf.8etch1 DSA-1787-1
Debian 4.0 user-mode-linux 2.6.18-1um-2etch.24etch2 DSA-1794-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-128.1.10.el5 RHSA-2009:0473
RHEL 4 kernel +10 2.6.9-89.EL RHSA-2009:1024
RHEL 3 kernel +8 2.4.21-63.EL RHSA-2009:1550
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 4.7 EUS kernel +10 2.6.9-78.0.24.EL RHSA-2009:1077
Red Hat MRG 1 kernel-rt +9 2.6.24.7-111.el5rt RHSA-2009:0451

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.

Exploit-DB 1

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

Advisories 8

References