Open weinholt opened 11 years ago
Thank you for opening this ticket. This is a serious bug, we hope to resolve this soon!
FYI: http://lists.cypherpunks.ca/pipermail/otr-dev/2013-November/001997.html
This is most probably a libotr issue. It can also be reproduce with pidgin-otr.
Under some circumstances irssi-otr will automatically resend the last written message. Before resending the message it does not verify that the recipient is the one that the message was intended for. This means that if a third party can do MITM on the wire traffic then he can trick irssi-otr into resending a message, thus revealing the plaintext of that message. It does require some cooperation from the user, but that might be easy to get using irssi-otr issue 22 and the "?OTR Error:" mechanism.
You may verify the problem using an IRC bot that I've made:
To reset the bot type "/notice OTRResend forget".
Note the manual intervention required by the user at step 7. The attack is not automatic, so it is possible to protect yourself if you have some idea about what might be going on. But I've typed ?OTR? myself on some occasion, when a friend started a second Jabber client that got things confused.
Here is an example session:
Verified with irssi 0.8.15-5 and ibotr5 4.0.0-2 on Debian wheezy amd64 with irssi-otr v1.0.0-alpha1-5-g5f685aa from git.