Known Exploited Vulnerability
7.2
HIGH
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability - [Actively Exploited]
Description

The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call.

INFO

Published Date :

May 14, 2013, 8:55 p.m.

Last Modified :

March 4, 2024, 10:58 p.m.

Remotely Exploitable :

No

Impact Score :

10.0

Exploitability Score :

3.9
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

Linux kernel fails to check all 64 bits of attr.config passed by user space, resulting to out-of-bounds access of the perf_swevent_enabled array in sw_perf_event_destroy(). Explotation allows for privilege escalation.

Required Action :

Apply updates per vendor instructions.

Notes :

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8176cced706b5e5d15887584150764894e94e02f

Public PoC/Exploit Available at Github

CVE-2013-2094 has a 70 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2013-2094 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2013-2094.

URL Resource
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f Not Applicable
http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html Third Party Advisory VDB Entry
http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html Third Party Advisory VDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html Third Party Advisory VDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html Third Party Advisory VDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html Third Party Advisory VDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html Third Party Advisory VDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html Third Party Advisory VDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html Third Party Advisory VDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html Third Party Advisory VDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/04302.html Third Party Advisory
http://news.ycombinator.com/item?id=5703758 Third Party Advisory
http://packetstormsecurity.com/files/121616/semtex.c Exploit Third Party Advisory VDB Entry
http://rhn.redhat.com/errata/RHSA-2013-0830.html Third Party Advisory
http://twitter.com/djrbliss/statuses/334301992648331267 Patch
http://www.exploit-db.com/exploits/33589 Third Party Advisory VDB Entry
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9 Not Applicable
http://www.mandriva.com/security/advisories?name=MDVSA-2013:176 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/05/14/6 Mailing List Third Party Advisory
http://www.osvdb.org/93361 Broken Link
http://www.reddit.com/r/netsec/comments/1eb9iw Third Party Advisory
http://www.ubuntu.com/usn/USN-1825-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1826-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1827-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1828-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1836-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1838-1 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=962792 Issue Tracking
https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

Auto Root / Privilege Escalation Exploit

autoroot privilege privilege-escalation root

Shell

Updated: 2 months, 3 weeks ago
2 stars 1 fork 1 watcher
Born at : June 11, 2024, 9:57 p.m. This repo has been linked 85 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months, 1 week ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

None

Updated: 1 year, 3 months ago
0 stars 0 fork 0 watcher
Born at : July 18, 2023, 4:04 a.m. This repo has been linked 6 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 14, 2023, 7:23 p.m. This repo has been linked 50 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 months ago
88 stars 13 fork 13 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : April 26, 2023, 7:11 a.m. This repo has been linked 50 different CVEs too.

None

Shell

Updated: 2 months ago
3 stars 2 fork 2 watcher
Born at : March 23, 2023, 4:32 a.m. This repo has been linked 435 different CVEs too.

None

Updated: 2 months, 2 weeks ago
6 stars 0 fork 0 watcher
Born at : Feb. 25, 2023, 10:40 a.m. This repo has been linked 178 different CVEs too.

None

Shell

Updated: 1 year, 7 months ago
2 stars 0 fork 0 watcher
Born at : Nov. 16, 2022, 9:38 a.m. This repo has been linked 256 different CVEs too.

None

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 30, 2022, 6:29 p.m. This repo has been linked 253 different CVEs too.

None

Shell

Updated: 3 months ago
1 stars 1 fork 1 watcher
Born at : Aug. 25, 2022, 12:16 a.m. This repo has been linked 250 different CVEs too.

Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.

cisa-kev vulnerability 0day cisa exploits

Updated: 2 months ago
516 stars 32 fork 32 watcher
Born at : April 19, 2022, 8:58 a.m. This repo has been linked 1181 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 3, 2022, 1:47 p.m. This repo has been linked 49 different CVEs too.

None

Python

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : March 5, 2022, 1:02 p.m. This repo has been linked 12 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2013-2094 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2013-2094 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 04, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 3.0.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.2.45 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.4.42 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.5 up to (excluding) 3.8.9 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 3.0.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.2.45 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.4.42 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.5 up to (excluding) 3.8.9
  • Modified Analysis by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Changed Reference Type http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f No Types Assigned http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f Not Applicable
    Changed Reference Type http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html No Types Assigned http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html No Types Assigned http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html No Types Assigned http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html No Types Assigned http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html Third Party Advisory, VDB Entry
    Changed Reference Type http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/04302.html No Types Assigned http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/04302.html Third Party Advisory
    Changed Reference Type http://news.ycombinator.com/item?id=5703758 No Types Assigned http://news.ycombinator.com/item?id=5703758 Third Party Advisory
    Changed Reference Type http://packetstormsecurity.com/files/121616/semtex.c Exploit http://packetstormsecurity.com/files/121616/semtex.c Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2013-0830.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2013-0830.html Third Party Advisory
    Changed Reference Type http://www.exploit-db.com/exploits/33589 No Types Assigned http://www.exploit-db.com/exploits/33589 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9 No Types Assigned http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9 Not Applicable
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2013:176 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2013:176 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2013/05/14/6 No Types Assigned http://www.openwall.com/lists/oss-security/2013/05/14/6 Mailing List, Third Party Advisory
    Changed Reference Type http://www.osvdb.org/93361 No Types Assigned http://www.osvdb.org/93361 Broken Link
    Changed Reference Type http://www.reddit.com/r/netsec/comments/1eb9iw No Types Assigned http://www.reddit.com/r/netsec/comments/1eb9iw Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1825-1 No Types Assigned http://www.ubuntu.com/usn/USN-1825-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1826-1 No Types Assigned http://www.ubuntu.com/usn/USN-1826-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1827-1 No Types Assigned http://www.ubuntu.com/usn/USN-1827-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1828-1 No Types Assigned http://www.ubuntu.com/usn/USN-1828-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1836-1 No Types Assigned http://www.ubuntu.com/usn/USN-1836-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-1838-1 No Types Assigned http://www.ubuntu.com/usn/USN-1838-1 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=962792 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=962792 Issue Tracking
    Changed Reference Type https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f No Types Assigned https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:3.8.0:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.1:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.2:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.3:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.4:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.5:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.6:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:3.8.7:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 3.8.8 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 3.0.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 3.2.45 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.4.42 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.5 up to (excluding) 3.8.9
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description CVE-2013-2094 kernel: perf_swevent_enabled array out-of-bound access The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call.
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Removed Reference https://access.redhat.com/errata/RHSA-2013:0829 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2013:0830 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2013:0832 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2013:0840 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2013:0841 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2013-2094 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. CVE-2013-2094 kernel: perf_swevent_enabled array out-of-bound access
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Removed Reference http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8176cced706b5e5d15887584150764894e94e02f [Patch]
    Added Reference https://access.redhat.com/security/cve/CVE-2013-2094 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2013:0832 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2013:0830 [No Types Assigned]
    Added Reference http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2013:0829 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2013:0840 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2013:0841 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 07, 2017

    Action Type Old Value New Value
    Added Reference http://www.osvdb.org/93361 [No Types Assigned]
    Added Reference http://www.exploit-db.com/exploits/33589 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 14, 2013

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2013-2094 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2013-2094 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} -0.02%

score

0.53101

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability