Christophe CasalegnoAutoimmune warrior, Entrepreneur & Bio/Hacker

brain@127.0.0.1:~$ cat post.html

Shellshock : encore un correctif pour les anciennes distributions Linux

Bash-Release: 4.3
Patch-ID: bash43-030
Bug-Reported-by: Michal Zalewski <lcamtuf@coredump.cx>
Bug-Reference-ID:
Bug-Reference-URL:
Bug-Description:
A combination of nested command substitutions and function importing from
the environment can cause bash to execute code appearing in the environment
variable value following the function definition.

Encore une nouvelle version de Bash corrigée contre Shellshock pour les distributions Linux obsolètes.

Ce correctif fonctionne sur Mandriva 2008 à 2010.2, OpenSUSE 12.1 Asparagus en 64 bits et Red Hat Enterprise Linux Server 5.2 (Tikanga).

J’ai aussi mis à disposition une version corrigée pour la distribution Linux OVH Release 2 en 64 bits.

Pour installer la version corrigée, connectez-vous en root sur votre serveur et lancez :

wget https://www.christophe-casalegno.com/patchs/bash
<span style="color: #ff0000;">Si version ovh Release 2:</span>
<span style="color: #ff0000;"> wget https://www.christophe-casalegno.com/patchs/bash_ovh_rl2</span>
<span style="color: #ff0000;"> mv bash_ovh_rl2 bash</span>
chmod +x bash

Vous pouvez ensuite vérifier que Bash fonctionne correctement : 

./bash

si tout est bon :

mv /bin/bash /bin/bash_old
mv bash /bin

lien direct vers la version corrigée  : http://127.0.0.1:8767/patchs/bash

Si votre version n’est pas prise en charge, vous pouvez télécharger les sources corrigées ici :  http://127.0.0.1:8767/patchs/bash-4.3.tar.gz

Installer la version à partir des sources :

wget --no-check-certificate https://www.christophe-casalegno.com/patchs/bash-4.3.tar.gz
tar xvf bash-4.3.tar.gz
cd bash-4.3
./configure
make

Ensuite, il faut vérifier que le nouveau Bash fonctionne correctement :

./bash

Si tout est bon, lancez  :

mv /bin/bash /bin/bash_old
mv bash /bin

Christophe Casalegno
​Vous pouvez me suivre sur : Twitter | Facebook | Linkedin | Telegram | Youtube

Laisser un commentaire

Ajouter un commentaire
Christophe Casalegno Brain 0verride

Soyez simple
et direct !