Bug 833483 (CVE-2012-2085)

Summary: CVE-2012-2085 gajim: Execute command helper improperly sanitizing 'command' argument, leading to remote code execution
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mschmidt
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 09:21:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 833485    
Bug Blocks:    

Description Jan Lieskovsky 2012-06-19 14:50:42 UTC
A code injection flaw was found in the way execute command helper method of Gajim, a Jabber client written in PyGTK, performed sanitization of the 'command' parameter. A remote attacker could provide a specially-crafted link, that when visited by Gajim user would lead to gajim executable crash or, potentially, arbitrary code execution with the privileges of the user running the executable.

Upstream ticket:
[1] https://trac.gajim.org/ticket/7031

Relevant patches:
[2] https://trac.gajim.org/changeset/bc296e96ac10
[3] https://trac.gajim.org/changeset/d19b82b8763b

Other references:
[4] http://seclists.org/oss-sec/2012/q2/34

Comment 1 Jan Lieskovsky 2012-06-19 14:53:49 UTC
While this issue has been previously corrected in the versions of the gajim package, as shipped with Fedora release of 15, 16, 17, and as shipped with Fedora EPEL 6, it still affects the version of the gajim package, as shipped with Fedora EPEL 5. Please schedule an update.

Comment 2 Jan Lieskovsky 2012-06-19 14:55:14 UTC
Created gajim tracking bugs for this issue

Affects: epel-5 [bug 833485]

Comment 3 Fedora Update System 2012-07-07 19:30:13 UTC
gajim-0.12.5-1.el5.2 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.