int(943)

Vulnerability Bulletins


Bug de formato en mod_SSL para Apache

Vulnerability classification

Property Value
Confidence level Oficial
Impact Obtener acceso
Dificulty Experto
Required attacker level Acceso remoto sin cuenta a un servicio estandar

System information

Property Value
Affected manufacturer GNU/Linux
Affected software mod_SSL <2.8.19
HP-UX B.11.04/Virtualvault 4.7
HP-UX B.11.04/Virtualvault 4.6
HP-UX B.11.04/Virtualvault 4.5
HP-UX B.11.04/Webproxy server 2.1
HP-UX B.11.04/Webproxy server 2.0

Description

Se ha descubierto un bug de formato en las versiones anteriores a la 2.8.19 del módulo mod_SSL para Apache 1.3.31. La vulnerabilidad reside en la función ssl_log() y la forma en que maneja los nombres de hosts ("hostnames").

La explotación de esta vulnerabilidad podría permitir a un atacante remoto y no autenticado ejecutar código remotamente mediante el envío de una petición HTTPS que contenga un valor "hostname" especialmente diseñado.

Solution

Si lo desea, aplique los mecanismos de actualización propios de su distribución, o bien baje las fuentes del software y compílelo usted mismo.


Actualización de software

mod_SSL
mod_SSL 2.8.19
http://www.modssl.org/source/mod_ssl-2.8.19-1.3.31.tar.gz

Debian Linux

Debian Linux 3.0
Source
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4.dsc
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4.diff.gz
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9.orig.tar.gz
Componentes independientes de arquitectura
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl-doc_2.8.9-2.4_all.deb
ARM
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_arm.deb
Intel IA-32
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_i386.deb
Intel IA-64
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_ia64.deb
HP Precision
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_hppa.deb
Motorola 680x0
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_m68k.deb
Big endian MIPS
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_mips.deb
Little endian MIPS
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_mipsel.deb
PowerPC
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_powerpc.deb
IBM S/390
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_s390.deb
Sun Sparc
http://security.debian.org/pool/updates/main/liba/libapache-mod-ssl/libapache-mod-ssl_2.8.9-2.4_sparc.deb

Mandrake Linux

Mandrakelinux 9.1
x86
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/9.1/RPMS/mod_ssl-2.8.12-8.2.91mdk.i586.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/9.1/SRPMS/mod_ssl-2.8.12-8.2.91mdk.src.rpm
PPC
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/ppc/9.1/RPMS/mod_ssl-2.8.12-8.2.91mdk.ppc.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/ppc/9.1/SRPMS/mod_ssl-2.8.12-8.2.91mdk.src.rpm

Mandrakelinux 9.2
x86
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/9.2/RPMS/mod_ssl-2.8.15-1.2.92mdk.i586.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/9.2/SRPMS/mod_ssl-2.8.15-1.2.92mdk.src.rpm
AMD64
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/amd64/9.2/RPMS/mod_ssl-2.8.15-1.2.92mdk.amd64.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/amd64/9.2/SRPMS/mod_ssl-2.8.15-1.2.92mdk.src.rpm

Mandrakelinux 10.0
x86
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/10.0/RPMS/mod_ssl-2.8.16-1.2.100mdk.i586.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/10.0/SRPMS/mod_ssl-2.8.16-1.2.100mdk.src.rpm
AMD64
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/amd64/10.0/RPMS/mod_ssl-2.8.16-1.2.100mdk.amd64.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/amd64/10.0/SRPMS/mod_ssl-2.8.16-1.2.100mdk.src.rpm

Mandrake Multi Network Firewall 8.2
x86
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/mnf8.2/RPMS/mod_ssl-2.8.7-3.4.M82mdk.i586.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/mnf8.2/SRPMS/mod_ssl-2.8.7-3.4.M82mdk.src.rpm

Mandrake Corporate Server 2.1
x86
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/corporate/2.1/RPMS/mod_ssl-2.8.10-5.4.C21mdk.i586.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/corporate/2.1/SRPMS/mod_ssl-2.8.10-5.4.C21mdk.src.rpm
X86_64
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/x86_64/corporate/2.1/RPMS/mod_ssl-2.8.10-5.4.C21mdk.x86_64.rpm
ftp://ftp.ps.pl/mirrors/Mandrakelinux/official/updates/x86_64/corporate/2.1/SRPMS/mod_ssl-2.8.10-5.4.C21mdk.src.rpm

Red Hat Linux

Red Hat Enterprise Linux AS (v. 2.1)
SRPMS
mod_ssl-2.8.12-6.src.rpm
i386
mod_ssl-2.8.12-6.i386.rpm
ia64
mod_ssl-2.8.12-6.ia64.rpm
https://rhn.redhat.com/

Red Hat Enterprise Linux ES (v. 2.1)
SRPMS
mod_ssl-2.8.12-6.src.rpm
i386
mod_ssl-2.8.12-6.i386.rpm
https://rhn.redhat.com/

Red Hat Enterprise Linux WS (v. 2.1)
SRPMS
mod_ssl-2.8.12-6.src.rpm
i386
mod_ssl-2.8.12-6.i386.rpm
https://rhn.redhat.com/

Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
SRPMS
mod_ssl-2.8.12-6.src.rpm
ia64
mod_ssl-2.8.12-6.ia64.rpm
https://rhn.redhat.com/

HP

HP-UX B.11.04/Virtualvault 4.7
PHSS_31823
PHSS_31824

HP-UX B.11.04/Virtualvault 4.6
PHSS_31825
PHSS_31826

HP-UX B.11.04/Virtualvault 4.5
PHSS_31827
PHSS_31828

HP-UX B.11.04/Webproxy server 2.1
PHSS_31830

HP-UX B.11.04/Webproxy server 2.0
PHSS_31829

Standar resources

Property Value
CVE CAN-2004-0700
BID 10736

Other resources

Debian Security Advisory DSA 532-1
http://lists.debian.org/debian-security-announce/debian-security-announce-2004/msg00134.html

Debian Security Advisory DSA 532-2
http://lists.debian.org/debian-security-announce/debian-security-announce-2004/msg00137.html

Mandrakesoft Security Advisory MDKSA-2004:075
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2004:075

Red Hat Security Advisory RHSA-2004:408-05
https://rhn.redhat.com/errata/RHSA-2004-408.html

HP SECURITY BULLETIN HPSBUX01082
http://www5.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX01082

Version history

Version Comments Date
1.0 Aviso emitido 2004-07-23
1.1 Aviso actualizado por Debian (DSA 532-2). Aviso emitido por Mandrake (MDKSA-2004:075). 2004-07-28
1.2 Aviso emitido por Red Hat (RHSA-2004:408-05) 2004-09-08
1.3 Aviso emitido por HP (HPSBUX01082) 2004-10-05
Ministerio de Defensa
Presidencia española. Consejo de la Unión Europea
CNI
CCN
CCN-CERT