Red Hat Bugzilla – Bug 1017437
CVE-2013-4422 quassel: potential SQL injection flaw
Last modified: 2015-07-31 03:11:04 EDT
The following was reported  on the oss-security mailing list. A proposed patch is noted in that report.
Quassel IRC is vulnerable to SQL injection on all current versions
(0.9.0 being the latest at the time of writing), if used with Qt 4.8.5
(the vulnerability is caused by a change in its postgres driver[2,3])
and PostgreSQL 8.2 or later with standard_conforming_strings enabled
(which is the default in those versions). The vulnerability allows
anyone to trick the core into executing SQL queries, which includes
cascade deleting the entire database. It is tracked upstream in bug
#1244 . It was firstly noticed by due to minor issues with
migration to postgres and problems with certain messages, a simple
test with an unmodified installation of postgres and quassel showed
that it was indeed possible to drop tables.
No upstream fix is available at this time, although the below patch
does fix the current issue.
Created quassel tracking bugs for this issue:
Affects: fedora-all [bug 1017438]
For completeness sake, upstream fixed it  and announced a new
release (0.9.1 ).
Note that  warns of possible data corruption when using certain package versions due to the changes in string escaping.
quassel-0.9.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
quassel-0.9.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.