Updates für Security Bulletin # 09.10 / Security Bulletin # 09.10 / Schwachstelle im SSL/TLS-Protokoll macht MITM-Attacken möglich
- aktueller Stand: 2009-12-01
Security-Bulletin
Originaltext
2009-11-16
Inhalt:
- Schwachstelle im SSL/TLS-Protokoll macht MITM-Attacken und Ausspähen von Daten möglich
Am 4.11. veröffentlichten Marsh Ray und Steve Dispensa ein Dokument[1], in dem eine Designschwachstelle des Verschlüsselungsprotokolls SSL/TLS beschrieben wurde, mit der Man in The Middle - Attacken und damit das Ausspähen sensitiver Daten möglich sind[2][3]. Eine bildhafte Erklärung zu dieser Schwachstelle liefert Thierry Zoller in seinem Blog[4]
Am 6.11. lieferte das OpenSSL-Projekt einen Fix (0.9.8l), der aber nicht die Schwachstelle behebt sondern einige Protokoll-Features abschaltet[5][6][7].
Serverbetreibern, die mit SSL und Client-Zertifikaten arbeiten, ist dringlichst anzuraten, die in den Distributionen verfügbaren Patches[7] ausgiebig mit Clientanwendungen zu testen, bevor die Sicherheitspatches auf Produktivsystemen ausgerollt werden.
betroffene Produkte
Betroffen sind alle Produkte, die auf die OpenSSL-Bibliotheken für SSL/TLS-Verschlüsselung setzen, vor allem die Webserver Apache/IIS, OpenVPN, STunnel, aber auch Firewall-Appliances fast aller Hersteller.
Workarounds
Der einzig bekannte Woraround besteht darin, SSL-Renegotiations auszustellen; die im Moment verfügbaren Updates (debian, Suse, OpenVPN etc, Stand: Nov 25) greifen auf diese Methode zurück.
Workaround-Empfehlungen von Ivan Risitc[8]
- If you can, disable renegotiation. There isn't normally a configuration option to do this, but patches are being developed and will be available soon. The majority of web sites do not use renegotiation so disabling it won't be a problem. Those that do will need to make changes to their sites to make them work without it.
- Use a web application firewall to monitor the contents of all request headers to spot what seems like an embedded HTTP request line. The good news is that the embedded request line will not be obfuscated, making it easier to detect. I do not believe that this advice can help the bypass of the client certificate authentication, though.
- If you can, monitor all connections that make use of the renegotiation feature. That won't help you if renegotiation is an integral feature of your web site, but it may do if it is rarely used.
Tests
- Th.Zoller zeigt in einem Update[9] für seinem Draft[4] eine einfache Methode zum Testen von Webservern:
Generic Example
openssl s_client –connect yourserver.com:443
GET / HTTP/1.0
Host:yourserver.com
R (Triggers renegotiation – if this works, the server
accepts renegotiations within an existing TLS session)
CRLF
<server responds with content> (server merged both sessions Req. #2)
Patched server with disabled renegotiation
openssl s_client –connect yourserver.com:443
R (Triggers renegotiation)
2860:error:1409444C:SSL routines:SSL3_READ_BYTES:tlsv1 alert no
renegotiation:./ ssl/s3_pkt.c:1053:SSL alert number 100
- Webserver: http://ssllabs.com/
- SSL-Clientanwendungen: https://www.mikestoolbox.net/
Infos, Resourcen und Updates
Zusammenfassungen und Beschreibungen des Problems:
Updates:
- 2009-12-01
- gentoo-advisory und updates: http://seclists.org/fulldisclosure/2009/Dec/19
- 2009-11-30
- th.zoller bringt umfangreiche Updates, neue Angriffsmöglkichkeite, POCs und Tests in seinem Draft TLS / SSLv3 renegotiation vulnerability explained[9][4]
- 2009-11-26
- openBSD veröffentlicht Errata Nr 4 zuim OpenSSL-Problem incl Sourcecode-Patch
- 2009-11-23
- RedTeam Pentesting veröffentlichen einen POC zu Thema: MitM Attacks against the chipTAN comfort Online Banking System
- 2009-11-18
- Thierry Zoller gibt ein Update für sein Dokument TLS / SSLv3 renegotiation vulnerability explained heraus. In dem Draft wird die Schwachstelle hervorragend bildlich dargestellt und erklärt.
- Novell/OpenSuse stellen Updates und ein Advisory für OpenSuse 11 / SLES 9-11 bereit
- SSLLabs.com hat die via SSLabs-Online-Checks verfügbaren Zertifikats- und SSL-Server-Prüfungen um einen Check auf die SSL/TSL-Schwachstelle erweitert.
- Ivan Ristic berichtet in seinem Blogeintrag SSL and TLS Authentication Gap vulnerability discovered ausführlich über die Lücke und Hintergünde
- 2009-11-17
- debian stellt Updates für Apache und ein Advisory zur Verfügung
- OpenVPN: Sans ISC berichtet über ein Update für OpenVPN, hier die Release-Notes dazu