zur Navigation

debianforum.de

die deutschsprachige Supportwebseite rund um das Debian-Projekt

Zum Inhalt


 
 
 
  • Foren-Übersicht ‹ sonstiges ‹ Neuigkeiten

Neue openssl Pakete beheben potentielle Sicherheitslücke

Antwort erstellen
24 Beiträge • Seite 1 von 2 • 1, 2

Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon armin am 13.05.2008 15:32:38

Jeder der in den letzten 18 Monaten einen DSA -Schlüssel mit openssl aus Debian erzeugt hat sollte dringend dieses Announcement lesen und wenn nötig seine Schlüssel aktualisieren: http://lists.debian.org/debian-security ... 00152.html
Formerly known as Trigger.
HP 8510p - Debian Sid
Mitglied des Debian-KDE-Teams
Benutzeravatar
armin
 
Beiträge: 2682
Registriert: 17.03.2005 12:49:14
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon ruwen am 13.05.2008 16:39:10

Leider ist die Hilfeseite noch offline. Ich hoffe die kommt bald, weil ich habe ehrlich gesagt keinen Plan wie ich meine Keys neu generiere.
Benutzeravatar
ruwen
 
Beiträge: 357
Registriert: 06.04.2003 18:37:25
  • Website
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon hermannstux am 13.05.2008 17:35:02

Suchst du sowas? http://www.huschi.net/14_141_de.html

Weasel hat vorhin ne Mail geschickt, das man alle Debian-Entwickler Accounts gesperrt hat, damit die Keys neu generiert werden.
hermannstux
 
Beiträge: 1
Registriert: 13.05.2008 17:30:17
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon ruwen am 13.05.2008 18:47:39

Hm... dann habe ich das ganze wohl etwas falsch verstanden. Ich nutze für SSH Benutzername und Passwort. Mein VPN ist zur Zeit aus, da kann ich in Ruhe warten. Ansonsten sind also nur Sachen betroffen, wo man sich via Key anmeldet?
Benutzeravatar
ruwen
 
Beiträge: 357
Registriert: 06.04.2003 18:37:25
  • Website
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon armin am 13.05.2008 18:59:10

Ssh-Host-Keys sind zum Beispiel auch betroffen.
Formerly known as Trigger.
HP 8510p - Debian Sid
Mitglied des Debian-KDE-Teams
Benutzeravatar
armin
 
Beiträge: 2682
Registriert: 17.03.2005 12:49:14
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon novalix am 13.05.2008 20:06:17

Hi,
die ersten Links und Workarounds trudeln langsam ein.
Unter http://blog.zakame.net/news/openssl-remote-dsa-1571 gibt es schon mal ein Mini-Tut zu den Host-Keys und einen link zu nem checker.
Da kommt noch einiges an Arbeit auf uns zu (vor allen Dingen den windowsnutzenden Kunden erklären, warum sie jetzt ein neues Sicherheitszertifikat importieren müssen und wie das geht und dass das nicht ihren Computer und auch nicht das Internet kaputt macht und ...).

Groetjes, niels
We get things wrong all the time. As a matter of course. Our world views form a scatter plot around the bullseye of reality.
Kenny Tilton
Benutzeravatar
novalix
 
Beiträge: 878
Registriert: 05.10.2005 12:32:57
Wohnort: elberfeld
Lizenz eigener Beiträge: MIT Lizenz
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon armin am 13.05.2008 23:25:24

Trigger. hat geschrieben:Ssh-Host-Keys sind zum Beispiel auch betroffen.

Apropos:
Code: Alles auswählen
$ ./dowkd.pl host debianforum.de
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
debianforum.de: weak key
debianforum.de: weak key
Formerly known as Trigger.
HP 8510p - Debian Sid
Mitglied des Debian-KDE-Teams
Benutzeravatar
armin
 
Beiträge: 2682
Registriert: 17.03.2005 12:49:14
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon Donnie-Darko am 14.05.2008 09:07:40

http://www.debian.org/security/key-roll ... ex.de.html
Linux: Life is to short for many reboots
Benutzeravatar
Donnie-Darko
 
Beiträge: 197
Registriert: 30.03.2004 12:49:11
Lizenz eigener Beiträge: GNU General Public License
  • Website
  • ICQ
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon feltel am 14.05.2008 10:58:42

Trigger. hat geschrieben:
Trigger. hat geschrieben:Ssh-Host-Keys sind zum Beispiel auch betroffen.

Apropos:
Code: Alles auswählen
$ ./dowkd.pl host debianforum.de
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
debianforum.de: weak key
debianforum.de: weak key


Jetzt nicht mehr:
Code: Alles auswählen
leela:~# perl dowkd.pl host debianforum.de
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
# debianforum.de SSH-2.0-OpenSSH_4.3p2 Debian-9
debianforum.de unterstützen? Hier! | debianforum.de Verhaltensregeln | Bitte keine Supportanfragen per PM
Benutzeravatar
feltel
Webmaster
 
Beiträge: 8336
Registriert: 20.12.2001 14:08:23
Wohnort: Leipzig, Germany
Lizenz eigener Beiträge: MIT Lizenz
  • Website
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon Profbunny am 14.05.2008 11:13:36

hat jemand den patch für dowkd.pl als file für mich, irgendwie hauts das alles durcheinander wenn ich den von der seite kopiere.
Rechner / Server Debian sid
Lappi Cebop HEL 800 Debian sid
Benutzeravatar
Profbunny
 
Beiträge: 394
Registriert: 04.04.2004 11:12:29
Wohnort: Bautzen
Lizenz eigener Beiträge: MIT Lizenz
  • ICQ
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon catdog2 am 14.05.2008 11:44:13

Code: Alles auswählen
- ------------------------------------------------------------------------
Debian Security Advisory DSA-1576-1                  security@debian.org
http://www.debian.org/security/                           Florian Weimer
May 14, 2008                          http://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : openssh
Vulnerability  : predictable random number generator
Problem type   : remote
Debian-specific: yes
CVE Id(s)      : CVE-2008-0166

The recently announced vulnerability in Debian's openssl package
(DSA-1571-1, CVE-2008-0166) indirectly affects OpenSSH.  As a result,
all user and host keys generated using broken versions of the openssl
package must be considered untrustworthy, even after the openssl update
has been applied.

1. Install the security updates

   This update contains a dependency on the openssl update and will
   automatically install a corrected version of the libss0.9.8 package,
   and a new package openssh-blacklist.

   Once the update is applied, weak user keys will be automatically
   rejected where possible (though they cannot be detected in all
   cases).  If you are using such keys for user authentication, they
   will immediately stop working and will need to be replaced (see
   step 3).

   OpenSSH host keys can be automatically regenerated when the OpenSSH
   security update is applied.  The update will prompt for confirmation
   before taking this step.

2. Update OpenSSH known_hosts files

   The regeneration of host keys will cause a warning to be displayed when
   connecting to the system using SSH until the host key is updated in the
   known_hosts file.  The warning will look like this:

   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
   Someone could be eavesdropping on you right now (man-in-the-middle attack)!
   It is also possible that the RSA host key has just been changed.

   In this case, the host key has simply been changed, and you should update
   the relevant known_hosts file as indicated in the error message.
   
   It is recommended that you use a trustworthy channel to exchange the
   server key.  It is found in the file /etc/ssh/ssh_host_rsa_key.pub on
   the server; it's fingerprint can be printed using the command:

      ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub

   In addition to user-specific known_hosts files, there may be a
   system-wide known hosts file /etc/ssh/known_hosts.  This is file is
   used both by the ssh client and by sshd for the hosts.equiv
   functionality.  This file needs to be updated as well.

3. Check all OpenSSH user keys

   The safest course of action is to regenerate all OpenSSH user keys,
   except where it can be established to a high degree of certainty that the
   key was generated on an unaffected system.

   Check whether your key is affected by running the ssh-vulnkey tool, included
   in the security update.  By default, ssh-vulnkey will check the standard
   location for user keys (~/.ssh/id_rsa, ~/.ssh/id_dsa and ~/.ssh/identity),
   your authorized_keys file (~/.ssh/authorized_keys and
   ~/.ssh/authorized_keys2), and the system's host keys
   (/etc/ssh/ssh_host_dsa_key and /etc/ssh/ssh_host_rsa_key).

   To check all your own keys, assuming they are in the standard
   locations (~/.ssh/id_rsa, ~/.ssh/id_dsa, or ~/.ssh/identity):

     ssh-vulnkey

   To check all keys on your system:

     sudo ssh-vulnkey -a

   To check a key in a non-standard location:

     ssh-vulnkey /path/to/key

   If ssh-vulnkey says "Unknown (no blacklist information)", then it has no
   information about whether that key is affected.  In this case, you
   can examine the modification time (mtime) of the file using "ls -l".
   Keys generated before September 2006 are not affected.  Keep in mind
   that, although unlikely, backup procedures may have changed the file
   date back in time (or the system clock may have been incorrectly
   set).
   
   If in doubt, generate a new key and remove the old one from any
   servers.

4. Regenerate any affected user keys

   OpenSSH keys used for user authentication must be manually regenerated,
   including those which may have since been transferred to a different system
   after being generated.

   New keys can be generated using ssh-keygen, e.g.:

   $ ssh-keygen
   Generating public/private rsa key pair.
   Enter file in which to save the key (/home/user/.ssh/id_rsa):
   Enter passphrase (empty for no passphrase):
   Enter same passphrase again:
   Your identification has been saved in /home/user/.ssh/id_rsa.
   Your public key has been saved in /home/user/.ssh/id_rsa.pub.
   The key fingerprint is:
   00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 user@host

5. Update authorized_keys files (if necessary)

   Once the user keys have been regenerated, the relevant public keys
   must be propagated to any authorized_keys files (and authorized_keys2
   files, if applicable) on remote systems.  Be sure to delete the lines
   containing old keys from those files..


In addition to countermeasures to mitigate the randomness vulnerability,
this OpenSSH update fixes several other vulnerabilities:

CVE-2008-1483:
   Timo Juhani Lindfors discovered that, when using X11 forwarding, the
   SSH client selects an X11 forwarding port without ensuring that it
   can be bound on all address families. If the system is configured
   with IPv6 (even if it does not have working IPv6 connectivity), this
   could allow a local attacker on the remote server to hijack X11
   forwarding.

CVE-2007-4752:
   Jan Pechanec discovered that ssh fails back to creating a trusted X11
   cookie if creating an untrusted cookie fails, potentially exposing
   the local display to a malicious remote server when using X11
   forwarding.

For the stable distribution (etch), these problems have been fixed in
version 4.3p2-9etch1.  Currently, only a subset of all supported
architectures have been built; further updates will be provided when
they become available.

For the unstable distribution (sid) and the testing distribution
(lenny), these problems have been fixed in version 4.7p1-9.

We recommend that you upgrade your openssh packages and take the
measures indicated above.
"Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning." (Rich Cook)

Linux is like a wigwam: no gates, no windows, and an apache inside.
Benutzeravatar
catdog2
 
Beiträge: 2533
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz
  • Website
  • ICQ
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon pluvo am 14.05.2008 15:20:50

http://www.links.org/?p=327
http://www.links.org/?p=328

Beim zweiten Blog-Eintrag wird auch etwas der technische Hintergrund beleuchtet.

Ansonsten gibt hier auch noch brauchbare Informationen:
http://wiki.debian.org/SSLkeys

http://de.wikipedia.org/wiki/Valgrind

mfg pluvo
Benutzeravatar
pluvo
 
Beiträge: 2085
Registriert: 13.11.2006 20:28:16
Wohnort: Landkreis Osnabrück
  • Website
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon C_A am 14.05.2008 16:41:30

Um den ganzen etwas Nachdruck zu verleihen ;)

Colin Watson hat geschrieben:the exploit is *trivial*
and if you have weak keys then it is only a matter of time before every
script kiddie on the planet can log into your system. It was imperative
that use of these keys be disabled as soon as possible. If that involves
a few people being inconvenienced, it's worth the trouble.


(Aus einer Antwort auf die Bemerkung/Frage wieso man ohne weiteres den Login ueber die kompromitierten Schluessel abdreht und so evt. den Admin raussperrt.)

Ich finde dieses Vorgehen durchaus gerechtfertigt und gut so.
Benutzeravatar
C_A
 
Beiträge: 1082
Registriert: 22.04.2004 14:51:01
Lizenz eigener Beiträge: GNU General Public License
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon TRex2003 am 14.05.2008 17:30:44

So, neue Keys erstellt und aus allen Systemen, die meinen Key akzeptieren, den alten gelöscht (und durch den neuen ersetzt).

Eigentlich wäre bei dem Update im config-Text ne Meldung angebracht gewesen, dass nicht nur Dienst X und Y neu gestartet werden müssen...
----
Der immense Usus exterritorialer Vokabeln in der germanistischen Linguistik ist mit dezidiertem Fanatismus auf das maximale Minimum zu reduzieren!
Jesus saves. Buddha does incremental backups.
Benutzeravatar
TRex2003
Moderator
 
Beiträge: 1817
Registriert: 23.11.2006 13:23:54
Wohnort: Haßloch
Lizenz eigener Beiträge: MIT Lizenz
  • Website
  • ICQ
Nach oben

Re: Neue openssl Pakete beheben potentielle Sicherheitslücke

Beitragvon C_A am 15.05.2008 02:57:41

Ja jetzt wird das Ganze langsam script kiddy faehig

http://metasploit.com/users/hdm/tools/debian-openssl/
Benutzeravatar
C_A
 
Beiträge: 1082
Registriert: 22.04.2004 14:51:01
Lizenz eigener Beiträge: GNU General Public License
Nach oben

Nächste

Antwort erstellen
24 Beiträge • Seite 1 von 2 • 1, 2

Zurück zu Neuigkeiten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste

Willkommen!
Startseite
Chat
Wiki/Tipps
Planet
Bildergalerie
NoPaste
Links
identi.ca-Gruppe
dieses und jenes
Forum
Foren-FAQ
Registrieren
Anmelden
Suchen
erweiterte Suche
unbeantw. Beiträge
aktive Themen



No ePatents Button
FSFE Supporter 2004 Button
top
Zum Seitenanfang
Diese Webseite ist keine offizielle Webseite des Debian Projekts.
Haftungsausschluss und Impressum – debianforum.de Verhaltensregeln

Powered by phpBB © 2000-2008 phpBB Group. Deutsche Übersetzung durch phpBB.de
Template entwickelt von Timo Salmen, basierend auf dem Debian Live Template, entwickelt von Christoph Haas.