1. CVE archive
  2. 2017
  3. CVE-2017-3753

CVE-2017-3753

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

Description

A vulnerability has been identified in some Lenovo products that use UEFI (BIOS) code developed by American Megatrends, Inc. (AMI). With this vulnerability, conditions exist where an attacker with administrative privileges or physical access to a system may be able to run specially crafted code that can allow them to bypass system protections such as Device Guard and Hyper-V.

Affected products

VendorProductVersionPlatform
lenovo 63 firmware fckt78a –
lenovo h50-30g firmware fckt78a –
lenovo ideacentre 300-20ish firmware all –
lenovo ideacentre 300s-11ish firmware all –
lenovo ideacentre 510s-08ish firmware all –
lenovo ideacentre 510s-23isu firmware o2ekt24a –
lenovo ideacentre 700 firmware all –
lenovo m4500 firmware fckt78a –
lenovo m4500 id firmware fckt78a –
lenovo m4550 id firmware fckt78a –
lenovo s200z firmware m09kt33a –
lenovo s500 firmware m0kkt24a –
lenovo thinkcentre e73 firmware fckt78a –
lenovo thinkcentre e73s firmware fckt78a –
lenovo thinkcentre e73z (aio) firmware fgkt49a –
lenovo thinkcentre e74 firmware m05kt54a –
lenovo thinkcentre e74s firmware m05kt54a –
lenovo thinkcentre e74z firmware fvkt48a –
lenovo thinkcentre e75 t/s firmware all –
lenovo thinkcentre e79 firmware m0lkt12a –
lenovo thinkcentre e93 firmware fbktc5a –
lenovo thinkcentre e93z (aio) firmware ffkt43a –
lenovo thinkcentre edge 62z firmware f8kt40a –
lenovo thinkcentre m4500k firmware fckt78a –
lenovo thinkcentre m4500q firmware fhkt66a –
lenovo thinkcentre m4500t/s firmware fckt78a –
lenovo thinkcentre m4600t/s firmware m05kt54a –
lenovo thinkcentre m600 firmware m00kt44a –
lenovo thinkcentre m610 firmware all –
lenovo thinkcentre m6500t/s firmware fbktc5a –
lenovo thinkcentre m6600 firmware fwkt39a –
lenovo thinkcentre m6600q firmware fwkt39a –
lenovo thinkcentre m6600t/s firmware fwkt39a –
lenovo thinkcentre m700 firmware m05kt54a –
lenovo thinkcentre m700z firmware fvkt48a –
lenovo thinkcentre m710t/s firmware all –
lenovo thinkcentre m715q firmware all –
lenovo thinkcentre m7200z firmware fgkt46a –
lenovo thinkcentre m7250z firmware fgkt46a –
lenovo thinkcentre m72e firmware f1kt71a –
lenovo thinkcentre m73 firmware fckt78a –
lenovo thinkcentre m7300z firmware fvkt42a –
lenovo thinkcentre m73p firmware fbktc5a –
lenovo thinkcentre m73z (aio) firmware fgkt46a –
lenovo thinkcentre m79 firmware m0lkt12a –
lenovo thinkcentre m800 firmware fwkt39a –
lenovo thinkcentre m800z firmware fvkt42a –
lenovo thinkcentre m810z firmware all –
lenovo thinkcentre m8200z firmware fgkt46a –
lenovo thinkcentre m8250z firmware fgkt46a –
lenovo thinkcentre m83 firmware fbktcga –
lenovo thinkcentre m8300z firmware fvkt42a –
lenovo thinkcentre m8350z firmware fvkt42a –
lenovo thinkcentre m83z (aio) firmware fvkt42a –
lenovo thinkcentre m8500t/s firmware fbktc5a –
lenovo thinkcentre m8600t/s firmware fwkt39a –
lenovo thinkcentre m900 firmware fwkt39a –
lenovo thinkcentre m900z firmware fukt39a –
lenovo thinkcentre m910q firmware all –
lenovo thinkcentre m910t/s firmware all –
lenovo thinkcentre m910x firmware all –
lenovo thinkcentre m92 firmware 9skt95a –
lenovo thinkcentre m92p firmware 9skt95a –
lenovo thinkcentre m93 firmware fbktc5a –
lenovo thinkcentre m93p firmware fbktc5a –
lenovo thinkcentre m9500z firmware fukt44a –
lenovo thinkcentre m9550z firmware fukt44a –
lenovo thinkcentre x1 aio firmware m0hkt32a –
lenovo thinkserver rd340 firmware all –
lenovo thinkserver rd440 firmware a0tsb5a –
lenovo thinkserver rd540 firmware a1tsb5a –
lenovo thinkserver rd640 firmware a1tsb5a –
lenovo thinkserver rq750 firmware 7.05 –
lenovo thinkserver rs140 firmware fbkt91c –
lenovo thinkserver td340 firmware a3tsb5a –
lenovo thinkserver ts140 firmware fbktc3a –
lenovo thinkserver ts150 firmware fbktc3a –
lenovo thinkserver ts240 firmware fbktc3a –
lenovo thinkserver ts250 firmware all –
lenovo thinkserver ts450 firmware all –
lenovo thinkserver ts550 firmware all –
lenovo thinkstation c30 (1136) firmware a1kt57a –
lenovo thinkstation c30 (1137) firmware a1kt57a –
lenovo thinkstation d30 (4353) firmware a3kt57a –
lenovo thinkstation d30 (4354) firmware a3kt57a –
lenovo thinkstation e31 firmware 9skt97a –
lenovo thinkstation e32 firmware fbktc6a –
lenovo thinkstation p300 firmware fbktc6a –
lenovo thinkstation p310 firmware fwkt57a –
lenovo thinkstation p320 firmware all –
lenovo thinkstation p410 firmware all –
lenovo thinkstation p500 firmware a4kt86a –
lenovo thinkstation p510 firmware all –
lenovo thinkstation p700 firmware a5kt86a –
lenovo thinkstation p710 firmware all –
lenovo thinkstation p900 firmware a6kt86a –
lenovo thinkstation p910 firmware all –
lenovo thinkstation s30 (4351) firmware a2kt54a –
lenovo thinkstation s30 (4352) firmware a2kt54a –
lenovo v320-15iap firmware all –

Showing 100 of 111 configurations. The full list is on NVD.

Vulnerability type

CWE-94 Improper Control of Generation of Code

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
In some cases, injectable code controls authentication; this may lead to a remote vulnerability.
Access Control Gain Privileges or Assume Identity
Injected code can access resources that the attacker is directly prevented from accessing.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
When a product allows a user's input to contain code syntax, it might be possible for an attacker to craft the code in such a way that it will alter the intended control flow of the product. As a result, code injection can often result in the execution of arbitrary code. Code injection attacks can also lead to loss of data integrity in nearly all cases, since the control-plane data injected is always incidental to data recall or writing.
Non-Repudiation Hide Activities
Often the actions performed by injected control code are unlogged.

How to prevent it

Architecture and Design · Refactoring Refactor your program so that you do not have to dynamically generate code.
Architecture and Design Run your code in a jail or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Implementation · Input Validation Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. To reduce the likelihood of code injection, use stringent allowlists that limit which constructs are allowed. If you are dynamically constructing code that invokes a function, then verifying that the input is alphanumeric might be insufficient. An attacker might still be able to reference a dangerous function that you did not intend to allow, such as system(), exec(), or exit().
Testing Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
Operation · Compilation or Build Hardening Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Operation · Environment Hardening Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Implementation For Python programs, it is frequently encouraged to use the ast.literal_eval() function instead of eval, since it is intentionally designed to avoid executing code. However, an adversary could still cause excessive memory or stack consumption via deeply nested structures, so the python documentation discourages use of ast.literal_eval() on untrusted data.

All 5,903 CWE-94 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org