CVE-2012-3461
Cypherpunks Libotr vulnerability
The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value "?OTR:===.", which triggers a heap-based buffer overflow.
Affected products
Libotr. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cypherpunks Libotr runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
- lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
- lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
- lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
- lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
- lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html
- otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b0568502
- otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff
- nvd.nist.gov/vuln/detail/CVE-2012-3461
- cve.org/CVERecord?id=CVE-2012-3461
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.