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

CVE-2018-9069

5.9 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H 5.9 – Medium

Description

In some Lenovo IdeaPad consumer notebook models, a race condition in the BIOS flash device locking mechanism is not adequately protected against, potentially allowing an attacker with administrator access to alter the contents of BIOS.

Affected products

VendorProductVersionPlatform
hp 310s-14isk firmware < 1.15 –
hp 320-15ikbra firmware < 6jcn24ww –
hp 320-15ikbrn firmware < 6jcn24ww –
hp 320-15ikbrn touch firmware < 6jcn24ww –
hp 320-17ikbrn < 2.09 –
hp 320s-14ikb < 2.09 –
hp 320s-15ikb firmware < 2.09 –
hp 320s-15isk firmware < 2wcn38ww –
hp 510s-14isk firmware < 1.15 –
hp 520-15ikbrn firmware < 6jcn26ww –
hp 520s-14ikb firmware < 2.09 –
hp 7000 u42 firmware < 2.09 –
hp 7000-15 u42 firmware < 2.09 –
hp 710s plus touch-13ikb firmware < 2.55 –
hp 710s plus-13ikb 16g firmware < 2.55 –
hp 710s plus-3ikb firmware < 2.55 –
hp 720s-13ikb firmware < 5scn38ww –
hp b320-14ikb firmware all –
hp e43-80 kbl firmware < 4.07 –
hp flex 4-1470 firmware < 1.15 –
hp flex 5-1470 firmware < 2.09 –
hp flex 5-1570 firmware < 2.09 –
hp ideapad 2in1 14 firmware all –
hp lenovo ideapad 320-14ikb(i+a) firmware all –
hp lenovo ideapad 320-14ikb(i+n) firmware all –
hp lenovo ideapad 320-15abr firmware all –
hp lenovo ideapad 320-15ikb(i+n) firmware all –
hp lenovo ideapad 320s-14ikbr firmware all –
hp lenovo ideapad 320s-15ikbr firmware all –
hp lenovo ideapad 520s-14ikbr firmware all –
hp lenovo ideapad 720s-14ikb firmware < 6jcn26ww –
hp lenovo ideapad flex 5-1470 firmware < 6jcn26ww –
hp lenovo ideapad flex 5-1570 firmware < 6jcn26ww –
hp lenovo ideapad y520-15ikbn firmware all –
hp lenovo tianyi 310-14ikb firmware all –
hp lenovo tianyi 310-15ikb firmware all –
hp lenovo v720-14 firmware < 2.12 –
hp lenovo y520-15ikba firmware < 5jcn25ww –
hp lenovo y520-15ikbm firmware < 5jcn25ww –
hp lenovo y720-15ikb firmware < 4gcn38ww –
hp lenovo yoga 520-14ikb firmware < 6jcn26ww –
hp lenovo yoga 520-15ikb firmware < 6jcn26ww –
hp miix 720-12ikb < 3scn66ww –
hp nano110-14ikb firmware all –
hp nano110-15ikb firmware < 5xcn24ww –
hp r720-15ikba firmware < 5jcn25ww –
hp r720-15ikbn firmware < 4gcn38ww –
hp rescuer r720-15ikbm firmware < 5xcn24ww –
hp rescuer y520-15ikbm firmware < 5xcn24ww –
hp v330-14ikb firmware < 4.07 –
hp v330-14isk firmware < 4.07 –
hp xiaoxinair13ikbpro firmware < 2.55 –
hp y520-15ikba firmware < 5jcn25ww –
hp y520-15ikbn firmware < 4gcn38ww –
hp y720-15ikb firmware < 4gcn38ww –
hp yoga 310-11iap firmware < 6.7 –
hp yoga 510-14isk firmware < 1.15 –
hp yoga 720-13ikb firmware < 2.05 –
hp yoga 720-13ikbr firmware < 2.07 –
hp yoga 720-15ikb firmware < 2.05 –
lenovo e42-80 firmware < 2wcn38ww –
lenovo e52-80 firmware < 2wcn38ww –
lenovo v310-14ikb firmware < 2wcn38ww –
lenovo v310-14isk firmware < 4.07 –
lenovo v310-15ikb firmware < 2wcn38ww –
lenovo v310-15isk firmware < 0zcn47ww –
lenovo v510-14ikb firmware < 2wcn38ww –
lenovo v510-15ikb firmware < 2wcn38ww –

Vulnerability type

CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
When a race condition makes it possible to bypass a resource cleanup routine or trigger multiple initialization routines, it may lead to resource exhaustion.
Availability DoS: Crash, Exit, or Restart, DoS: Instability
When a race condition allows multiple control flows to access a resource simultaneously, it might lead the product(s) into unexpected states, possibly resulting in a crash.
Confidentiality, Integrity Read Files or Directories, Read Application Data
When a race condition is combined with predictable resource names and loose permissions, it may be possible for an attacker to overwrite or access confidential data (CWE-59).
Access Control Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism
This can have security implications when the expected synchronization is in security-critical code, such as recording whether a user is authenticated or modifying important state information that should not be influenced by an outsider.

How to prevent it

Architecture and Design In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
Architecture and Design Use thread-safe capabilities such as the data access abstraction in Spring.
Architecture and Design Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring. Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).
Implementation When using multithreading and operating on shared variables, only use thread-safe functions.
Implementation Use atomic operations on shared variables. Be wary of innocent-looking constructs such as x++. This may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read, followed by a computation, followed by a write.
Implementation Use a mutex if available, but be sure to avoid related weaknesses such as CWE-412.
Implementation Avoid double-checked locking (CWE-609) and other implementation errors that arise when trying to avoid the overhead of synchronization.
Implementation Disable interrupts or signals over critical parts of the code, but also make sure that the code does not go into a large or infinite loop.

All 2,949 CWE-362 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org