APT 0.8.16/0.9.7 /var/log/apt/term.log information disclosure

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.0$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in APT 0.8.16/0.9.7. This affects an unknown function of the file /var/log/apt/term.log. The manipulation leads to information disclosure. This vulnerability is traded as CVE-2012-0961. Furthermore, there is an exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability was found in APT 0.8.16/0.9.7 and classified as problematic. This issue affects an unknown functionality of the file /var/log/apt/term.log. The manipulation with an unknown input leads to a information disclosure vulnerability. Using CWE to declare the problem leads to CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Impacted is confidentiality. The summary by CVE is:

Apt 0.8.16~exp5ubuntu13.x before 0.8.16~exp5ubuntu13.6, 0.8.16~exp12ubuntu10.x before 0.8.16~exp12ubuntu10.7, and 0.9.7.5ubuntu5.x before 0.9.7.5ubuntu5.2, as used in Ubuntu, uses world-readable permissions for /var/log/apt/term.log, which allows local users to obtain sensitive shell information by reading the log file.

The bug was discovered 04/06/2012. The weakness was shared 12/12/2012 by James Troup with Ubuntu as Bug #975199 as not defined feature request (Website). The advisory is shared at bugs.launchpad.net. The vendor cooperated in the coordination of the public release. The identification of this vulnerability is CVE-2012-0961 since 02/01/2012. An attack has to be approached locally. The successful exploitation needs a simple authentication. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1592 for this issue.

After immediately, there has been an exploit disclosed. The exploit is available at packetstormsecurity.org. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 250 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:var/log/apt/term.log it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 63260 (Ubuntu 11.10 / 12.04 LTS / 12.10 : apt vulnerability (USN-1662-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks.

Applying a patch is able to eliminate this problem.

The vulnerability is also documented in the databases at X-Force (80785), Tenable (63260), SecurityFocus (BID 56917†), OSVDB (88380†) and Secunia (SA51568†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.3
VulDB Meta Temp Score: 3.0

VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Information disclosure
CWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 63260
Nessus Name: Ubuntu 11.10 / 12.04 LTS / 12.10 : apt vulnerability (USN-1662-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 841251
OpenVAS Name: Ubuntu Update for apt USN-1662-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

02/01/2012 🔍
04/06/2012 +65 days 🔍
04/06/2012 +0 days 🔍
12/12/2012 +250 days 🔍
12/12/2012 +0 days 🔍
12/12/2012 +0 days 🔍
12/12/2012 +0 days 🔍
12/13/2012 +1 days 🔍
12/13/2012 +0 days 🔍
12/17/2012 +4 days 🔍
12/26/2012 +9 days 🔍
12/27/2012 +1 days 🔍
04/20/2021 +3036 days 🔍

Sourcesinfo

Advisory: Bug #975199
Researcher: James Troup
Organization: Ubuntu
Status: Not defined
Coordinated: 🔍

CVE: CVE-2012-0961 (🔍)
GCVE (CVE): GCVE-0-2012-0961
GCVE (VulDB): GCVE-100-7169

OVAL: 🔍

X-Force: 80785
SecurityFocus: 56917 - Ubuntu APT Insecure File Permissions Local Information Disclosure Vulnerability
Secunia: 51568 - Ubuntu update for apt, Not Critical
OSVDB: 88380
Vulnerability Center: 37864 - Ubuntu APT Local Leakage of Sensitive Information due to Incorrect Permissions of the term.log File, Low

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 12/17/2012 15:21
Updated: 04/20/2021 11:20
Changes: 12/17/2012 15:21 (80), 04/23/2017 13:52 (6), 04/20/2021 11:20 (3)
Complete: 🔍
Committer:
Cache ID: 216:CFF:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!