Cypherpunks libotr 3.1.0/3.2.0 decode ?OTR:===. memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Cypherpunks libotr 3.1.0/3.2.0 and classified as critical. Impacted is the function decode. The manipulation of the argument ?OTR:===. leads to memory corruption.
This vulnerability is referenced as CVE-2012-3461. No exploit is available.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability, which was classified as critical, has been found in Cypherpunks libotr 3.1.0/3.2.0. This issue affects the function decode. The manipulation of the argument ?OTR:===. with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is availability. The summary by CVE is:
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.
The weakness was published 08/20/2012 as confirmed git commit (GIT Repository). It is possible to read the advisory at otr.git.sourceforge.net. The identification of this vulnerability is CVE-2012-3461 since 06/14/2012. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 74817 (openSUSE Security Update : libotr (openSUSE-SU-2012:1525-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 120908 (Solaris 11 Support Repository Update (SRU) 12.4 Missing).
Upgrading to version 3.2.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at otr.git.sourceforge.net. The best possible mitigation is suggested to be patching the affected component.
The vulnerability is also documented in the databases at X-Force (77528), Tenable (74817), SecurityFocus (BID 54907†) and Vulnerability Center (SBV-35966†). Similar entries are available at VDB-48798, VDB-61966 and VDB-63232. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 74817
Nessus Name: openSUSE Security Update : libotr (openSUSE-SU-2012:1525-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 71822
OpenVAS Name: Debian Security Advisory DSA 2526-1 (libotr)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: libotr 3.2.0
Patch: 1902baee5d4b056850274ed0fa8c2409f1187435
Timeline
06/14/2012 🔍08/08/2012 🔍
08/08/2012 🔍
08/20/2012 🔍
08/20/2012 🔍
08/23/2012 🔍
06/13/2014 🔍
03/23/2015 🔍
12/12/2021 🔍
Sources
Advisory: USN-1541-1Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-3461 (🔍)
GCVE (CVE): GCVE-0-2012-3461
GCVE (VulDB): GCVE-100-61715
OVAL: 🔍
X-Force: 77528
SecurityFocus: 54907 - libotr2 Package Multiple Heap Based Buffer Overflow Vulnerabilities
Vulnerability Center: 35966 - Libotr Before 3.2.1 Remote Denial of Service Vulnerability via a Message With the Value \, Medium
See also: 🔍
Entry
Created: 03/23/2015 16:50Updated: 12/12/2021 08:18
Changes: 03/23/2015 16:50 (66), 04/16/2017 10:43 (11), 12/12/2021 08:14 (4), 12/12/2021 08:18 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.