Executive Summary

Summary
Title JHead: Multiple vulnerabilities
Informations
Name GLSA-200901-02 First vendor Publication 2009-01-11
Vendor Gentoo Last vendor Modification 2009-01-11
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 10 Attack Range Network
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Multiple vulnerabilities in JHead might lead to the execution of arbitrary code or data loss.

Background

JHead is an exif jpeg header manipulation tool.

Description

Marc Merlin and John Dong reported multiple vulnerabilities in JHead:

* A buffer overflow in the DoCommand() function when processing the cmd argument and related to potential string overflows (CVE-2008-4575).

* An insecure creation of a temporary file (CVE-2008-4639).

* A error when unlinking a file (CVE-2008-4640).

* Insufficient escaping of shell metacharacters (CVE-2008-4641).

Impact

A remote attacker could possibly execute arbitrary code by enticing a user or automated system to open a file with a long filename or via unspecified vectors. It is also possible to trick a user into deleting or overwriting files.

Workaround

There is no known workaround at this time.

Resolution

All JHead users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/jhead-2.84-r1"

References

[ 1 ] CVE-2008-4575 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4575
[ 2 ] CVE-2008-4639 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4639
[ 3 ] CVE-2008-4640 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4640
[ 4 ] CVE-2008-4641 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4641

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200901-02.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200901-02.xml

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-20 Improper Input Validation
25 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer
25 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 20

OpenVAS Exploits

Date Description
2009-03-07 Name : Fedora Core 9 FEDORA-2009-1776 (jhead)
File : nvt/fcore_2009_1776.nasl
2009-03-07 Name : Fedora Core 10 FEDORA-2009-1824 (jhead)
File : nvt/fcore_2009_1824.nasl
2009-02-18 Name : Mandrake Security Advisory MDVSA-2009:041 (jhead)
File : nvt/mdksa_2009_041.nasl
2009-02-17 Name : Fedora Update for jhead FEDORA-2008-8928
File : nvt/gb_fedora_2008_8928_jhead_fc9.nasl
2009-02-17 Name : Fedora Update for jhead FEDORA-2008-8941
File : nvt/gb_fedora_2008_8941_jhead_fc8.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 11.1)
File : nvt/suse_sr_2009_001.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 11.0)
File : nvt/suse_sr_2009_001a.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 10.3)
File : nvt/suse_sr_2009_001b.nasl
2009-01-13 Name : Gentoo Security Advisory GLSA 200901-02 (jhead)
File : nvt/glsa_200901_02.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
49475 jhead jhead.c DoCommand Function Arbitrary Local File Deletion

49452 jhead jhead.c Temporary File Symlink Arbitrary File Overwrite

49369 jhead jhead.c DoCommand Function Shell Metacharacter Arbitrary Remote Command...

49196 jhead DoCommand Function Command Argument Overflow DoS

Nessus® Vulnerability Scanner

Date Description
2009-07-21 Name : The remote openSUSE host is missing a security update.
File : suse_11_0_jhead-090108.nasl - Type : ACT_GATHER_INFO
2009-07-21 Name : The remote openSUSE host is missing a security update.
File : suse_11_1_jhead-090108.nasl - Type : ACT_GATHER_INFO
2009-04-23 Name : The remote Fedora host is missing a security update.
File : fedora_2009-1824.nasl - Type : ACT_GATHER_INFO
2009-04-23 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2009-041.nasl - Type : ACT_GATHER_INFO
2009-03-06 Name : The remote Fedora host is missing a security update.
File : fedora_2009-1776.nasl - Type : ACT_GATHER_INFO
2009-01-12 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200901-02.nasl - Type : ACT_GATHER_INFO
2009-01-11 Name : The remote openSUSE host is missing a security update.
File : suse_jhead-5899.nasl - Type : ACT_GATHER_INFO
2008-10-21 Name : The remote Fedora host is missing a security update.
File : fedora_2008-8928.nasl - Type : ACT_GATHER_INFO
2008-10-21 Name : The remote Fedora host is missing a security update.
File : fedora_2008-8941.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:36:13
  • Multiple Updates