Bug 274099 - Kopete OTR leaks unencrypted messages
Summary: Kopete OTR leaks unencrypted messages
Status: RESOLVED DUPLICATE of bug 362535
Alias: None
Product: kopete
Classification: Applications
Component: OTR Plugin (show other bugs)
Version: SVN
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 13:00 UTC by Thomas Damgaard
Modified: 2016-11-22 00:21 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Damgaard 2011-05-25 13:00:28 UTC
Version:           SVN (using Devel) 
OS:                Linux

I use Kopete with the OTR (Off the Record) plugin enabled.
 OTR is a cryptographic protocol that provides strong encryption for instant messaging conversations. The primary motivation behind the protocol was providing deniability for the conversation participants while keeping conversations confidential, like a private conversation in real life, or off the record in journalism sourcing.

I have set OTR policy to Always and so has the other part I am communicating with. We both use Kubuntu 11.04 (but this was a problem in earlier versions as well).

Even though we have set OTR to be used always, OTR leaks clear text messages. This is extremely troublesome, since the purpose of the software is to keep messages confidential.

This happens often with the first message sent/received in a conversation, but also (seemingly) randomly during conversations.

Steps to reproduce:
 1: On computer A, start Kopete with OTR enabled on a Jabber account. Set OTR policy to Always.
 2: On computer B, start Kopete with OTR enabled on a Jabber account. Set OTR policy to Always.
 3: From A, start a conversation with person on B.
 4: Notice warnings on the receiving chat window like this:
 (10:38:26) #
 The following message received from REMOVED@gmail.com was not encrypted: [HELLO]

5: On the sending chat window:
 (10:45:16) #
 OTR Error: You sent encrypted data to REMOVED@gmail.com, who wasn't expecting it.

(10:45:17) #
 OTR connection refreshed successfully.

(10:45:17) #
 The last message to REMOVED@gmail.com was resent.

This only happens sometimes. I am not sure what exactly triggers this, but it is a big problem.

One case that does seem to trigger it is if A starts chat with B, then B closes Kopete while A keeps chat window open. B then starts kopete and writes to A. This will often result in B's message being sent unencrypted.

Reproducible: Didn't try
Comment 1 Christian Iversen 2011-08-16 07:10:08 UTC
Yes, I'm seeing this as well!

It is really quite worrisome, as this is _exactly_ what OTR is design to prevent. It happens even when my encryption policy is "always", in which case OTR should never, ever send an unencrypted transmission.
Comment 2 fgerin 2016-06-11 14:42:45 UTC
Confirmed on my side too... Much later on, with kopete 1.6.60 / debian jessie.

Due to the craziness of this security issue, and since it seems very old while not even beging flagged as confirmed, I must remove kopete from my applications, sorry.
Comment 3 Pali Rohár 2016-11-22 00:21:55 UTC

*** This bug has been marked as a duplicate of bug 362535 ***