Bug 833484 (CVE-2012-2086)

Summary: CVE-2012-2086 gajim: SQL injection due improper sanitization of conversation logs
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
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:12 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:51:58 UTC
A SQL injection flaw was found in the way the logger module of Gajim, a Jabber client written in PyGTK, performed sanitization of conversation messages, when retrieving list of days having log entries. A remote attacker could use a specially-crafted Jabber ID (JID), which once processed by the Gajim's get_last_conversation_lines() method could lead to arbitrary SQL statement execution.

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

Relevant patches:
[2] https://trac.gajim.org/changeset/bfd5f94489d8
[3] https://trac.gajim.org/changeset/988e38ce0e0c

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

Comment 1 Jan Lieskovsky 2012-06-19 14:54:16 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:39 UTC
Created gajim tracking bugs for this issue

Affects: epel-5 [bug 833485]

Comment 3 Fedora Update System 2012-07-07 19:30:19 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.