Lhasa up to 0.3.0 Archive lib/lha_file_header.c decode_level3_header integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.7 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in Lhasa up to 0.3.0. This impacts the function decode_level3_header in the library lib/lha_file_header.c of the component Archive Handler. Executing a manipulation can lead to integer overflow.
This vulnerability is registered as CVE-2016-2347. It is possible to launch the attack remotely. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability classified as very critical was found in Lhasa up to 0.3.0. This vulnerability affects the function decode_level3_header in the library lib/lha_file_header.c of the component Archive Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Integer underflow in the decode_level3_header function in lib/lha_file_header.c in Lhasa before 0.3.1 allows remote attackers to execute arbitrary code via a crafted archive.
The bug was discovered 03/31/2016. The weakness was published 04/21/2017 (Website). The advisory is available at debian.org. This vulnerability was named CVE-2016-2347 since 02/12/2016. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 10/10/2024).
The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 90323 (Debian DSA-3540-1 : lhasa - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 168702 (OpenSuSE Security Update for Security lhasa (openSUSE-SU-2016:1027-1)).
Upgrading to version 0.3.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (90323). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.9VulDB Meta Temp Score: 8.7
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 90323
Nessus Name: Debian DSA-3540-1 : lhasa - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703540
OpenVAS Name: Debian Security Advisory DSA 3540-1 (lhasa - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Lhasa 0.3.1
Patch: github.com
Timeline
02/12/2016 🔍03/31/2016 🔍
04/03/2016 🔍
04/05/2016 🔍
04/21/2017 🔍
04/21/2017 🔍
04/22/2017 🔍
10/10/2024 🔍
Sources
Advisory: 6fcdb8f1f538b9d63e63a5fa199c5514a15d4564Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-2347 (🔍)
GCVE (CVE): GCVE-0-2016-2347
GCVE (VulDB): GCVE-100-100450
OVAL: 🔍
OSVDB: - CVE-2016-2347 - Lhasa - Integer Underflow Issue
Entry
Created: 04/22/2017 08:46Updated: 10/10/2024 22:01
Changes: 04/22/2017 08:46 (72), 09/19/2020 14:16 (3), 12/02/2022 06:47 (6), 10/10/2024 22:01 (16)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.