CVE-2012-3236 : Détail

CVE-2012-3236

Memory Corruption
2.21%V3
Network
2012-07-12
19h00 +00:00
2017-08-28
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a malformed XTENSION header of a .fit file, as demonstrated using a long string.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-476 NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 19482

Date de publication : 2012-06-29 22h00 +00:00
Auteur : Joseph Sheridan
EDB Vérifié : No

Summary ======= There is a file handling DoS in GIMP (the GNU Image Manipulation Program) for the 'fit' file format affecting all versions (Windows and Linux) up to and including 2.8.0. A file in the fit format with a malformed 'XTENSION' header will cause a crash in the GIMP program. CVE number: CVE-2012-3236 Vendor Homepage: http://www.gimp.org/ Date reported to vendor: 25/05/2012 Found by Joseph Sheridan: href="http://www.reactionpenetrationtesting.co.uk/joseph-sheridan.html This advisory is posted at: http://www.reactionpenetrationtesting.co.uk/FIT-file-handling-DoS.html PoC file is available here: http://www.reactionpenetrationtesting.co.uk/vuln.fit https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/19482.fit Affected Products ================= Vulnerable Products +------------------ The following products are known to be affected by this vulnerability: * GIMP <= 2.8.0 (Windows or Linux builds) Products Not Vulnerable +-------------------------------- * GIMP 2.8.1 Details ======= There is a file handling DoS in GIMP (the GNU Image Manipulation Program) for the 'fit' file format affecting all versions (Windows and Linux) up to 2.8.0. A file in the fit format with a malformed 'XTENSION' header will cause a crash in the GIMP program. The flaw is triggered by opening a crafted 'fit' file or allowing the file explorer dialog to preview the file. A file in the fit format starting as follows will trigger the crash: XTENSIONaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaHEADER2... The vulnerable code is in the fits-io.c lines where the program attempts to copy from a null pointer: { fdat = fits_decode_card (fits_search_card (hdr, "XTENSION"), typ_fstring); strcpy (hdulist->xtension, fdat->fstring); } This code can be patched by changing it to the following (as GIMP 2.8.1): fdat = fits_decode_card (fits_search_card (hdr, "XTENSION"), typ_fstring); if(fdat != NULL) { strcpy (hdulist->xtension, fdat->fstring); } else { strcpy (errmsg, "No valid XTENSION header found."); goto err_return; } Impact ====== Successful exploitation of the vulnerability may result in an application crash and denial of service. Solution =========== The GIMP team have provided an update for this issue (release 2.8.1). Workarounds =========== The fits-io.c file can be patched as above. Distribution ============ In addition to posting on the website, a text version of this notice is posted to the following e-mail and Usenet news recipients. * bugtraq () securityfocus com * full-disclosure () lists grok org uk * oss [dash] security [dash] subscribe [at] lists [dot] openwall [dot] com Future updates of this advisory, if any, will be placed on the ReactionIS corporate website, but may or may not be actively announced on mailing lists or newsgroups. Users concerned about this problem are encouraged to check the URL below for any updates: http://www.reactionpenetrationtesting.co.uk/FIT-file-handling-DoS.html ======================================================================== ==== Reaction Information Security Lombard House Business Centre, Suite 117, 12-17 Upper Bridge Street, Canterbury, Kent, CT1 2NF Phone: +44 (0)1227 785050 Email: research () reactionis {dot} co {dot} uk Web: http://www.reactionpenetrationtesting.co.uk Joseph Sheridan Technical Director Principal Consultant CHECK Team Leader, CREST Infrastructure, CREST Application, CISSP Tel: 07812052515 Web: www.reactionis.com Email: joe (at) reactionis.co (dot) uk [email concealed] Reaction Information Security Limited. Registered in England No: 6929383 Registered Office: 1, The Mews, 69 New Dover Road, Canterbury, CT1 3DZ This email and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient please notify the sender. Any unauthorised dissemination or copying of this email or its attachments and any use or disclosure of any information contained in them, is strictly prohibited.  Please consider the environment before printing this email

Products Mentioned

Configuraton 0

Gimp>>Gimp >> Version To (excluding) 2.9.2

Références

http://www.ubuntu.com/usn/USN-1559-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://www.exploit-db.com/exploits/19482
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.mandriva.com/security/advisories?name=MDVSA-2013:082
Tags : vendor-advisory, x_refsource_MANDRIVA
http://www.securityfocus.com/bid/54246
Tags : vdb-entry, x_refsource_BID