1. CVE archive
  2. 2018
  3. CVE-2018-8167

CVE-2018-8167

7 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 7 – High

Description

An elevation of privilege vulnerability exists when the Windows Common Log File System (CLFS) driver improperly handles objects in memory, aka "Windows Common Log File System Driver Elevation of Privilege Vulnerability." This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 2008, Windows Server 2012, Windows 8.1, Windows Server 2016, Windows Server 2008 R2, Windows 10, Windows 10 Servers.

Affected products

VendorProductVersionPlatform
microsoft windows 10 all –
microsoft windows 10 1607 –
microsoft windows 10 1703 –
microsoft windows 10 1709 –
microsoft windows 10 1803 –
microsoft windows 7 all sp1 –
microsoft windows 8.1 all –
microsoft windows rt 8.1 all –
microsoft windows server 2008 all sp2 –
microsoft windows server 2008 r2 sp1 –
microsoft windows server 2012 all –
microsoft windows server 2012 r2 –
microsoft windows server 2016 all –
microsoft windows server 2016 1709 –
microsoft windows server 2016 1803 –
All 2,976 Microsoft Windows 10 vulnerabilities
All 6,928 Microsoft Windows Server 2016 vulnerabilities
All 3,551 Microsoft Windows Server 2008 vulnerabilities

Vulnerability type

CWE-404 Improper Resource Shutdown or Release

The product does not release or incorrectly releases a resource before it is made available for re-use.

When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.

Impact on systems

ScopeImpact
Availability, Other DoS: Resource Consumption (Other), Varies by Context
Most unreleased resource issues result in general software reliability problems, but if an attacker can intentionally trigger a resource leak, the attacker might be able to launch a denial of service attack by depleting the resource pool.
Confidentiality Read Application Data
When a resource containing sensitive information is not correctly shutdown, it may expose the sensitive data in a subsequent allocation.

How to prevent it

Requirements · Language Selection Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
Implementation It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
Implementation Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
Implementation When releasing a complex object or structure, ensure that you properly dispose of all of its member components, not just the object itself.

All 737 CWE-404 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org