coppermine-gallery.com/forum

Support => Français (French) => Language Specific Support => cpg1.4.x Français (French) => Topic started by: mister_sam on June 07, 2006, 03:17:18 PM

Title: GD Graphics Library GIF File Handling Denial of Service
Post by: mister_sam on June 07, 2006, 03:17:18 PM
Pour info :
Alerte de sécurité Secunia sur GD :
Contenu de l'alerte :

TITLE:
GD Graphics Library GIF File Handling Denial of Service

SECUNIA ADVISORY ID:
SA20500

VERIFY ADVISORY:
http://secunia.com/advisories/20500/

CRITICAL:
Less critical

IMPACT:
DoS

WHERE:
From remote

SOFTWARE:
GD Graphics Library 2.x
http://secunia.com/product/4178/

DESCRIPTION:
Xavier Roche has discovered a vulnerability in the GD Graphics Library, which potentially can be exploited by malicious people to cause a DoS (Denial of Service) against applications and services using libgd.

The vulnerability is caused due to an infinite loop error within the handling of GIF images. This can be exploited to consume a large amount of CPU resources when the "gdImageCreateFromGifPtr()" function is used with a specially crafted GIF image.

The vulnerability has been confirmed in version 2.0.33. Other versions may also be affected.

SOLUTION:
Restrict use to GIF images from trusted sources only.

PROVIDED AND/OR DISCOVERED BY:
Xavier Roche
Title: Re: GD Graphics Library GIF File Handling Denial of Service
Post by: Pascal YAP on June 07, 2006, 06:28:25 PM
Mister_Sam,

Merci pour le retour d'infos !

Xavier Roche a découvert une vulnérabilité dans la bibliothèque de graphiques de GD, qui potentiellement peut être exploitée par les personnes malveillantes pour causer un DoS (Denial of Service) contre des applications et des services en utilisant la librairie graphique GD.
La vulnérabilité est causée en raison d'une erreur de boucle infinie dans la manipulation des images GIF.
Ceci peut être exploité pour consommer une grande quantité de ressources sur l'unité centrale de traitement (votre hébergeur) quand la fonction "gdImageCreateFromGifPtr ()" est employée avec une image GIF.
La vulnérabilité a été confirmée dans la version 2.0.33.
D'autres versions peuvent également être affectées.

SOLUTION :
  Limiter l'utilisation des images de GIF aux sources de confiance seulement.


Il faut noter qu'une faille similaire a été mentionnée au sujet du format graphique PNG, la fonction utilisée est alors "gdImageCreateFromPngCtx()"

Les galeries Coppermine qui n'offrent par de droits de téléchargement à d'autres Utilisateurs que l'Admin, sont à priori peu vulnérables.

PYAP