Bug 1286966 (CVE-2015-8370) - CVE-2015-8370 grub2: buffer overflow when checking password entered during bootup
Summary: CVE-2015-8370 grub2: buffer overflow when checking password entered during bo...
Alias: CVE-2015-8370
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: impact=moderate,public=20151210,repor...
Depends On: 1288493 1288494 1290417
Blocks: 1286968
TreeView+ depends on / blocked
Reported: 2015-12-01 09:09 UTC by Martin Prpič
Modified: 2019-06-08 20:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way grub2 handled backspace characters entered in username and password prompts. An attacker with access to the system console could use this flaw to bypass grub2 password protection and gain administrative access to the system.
Clone Of:
Last Closed: 2015-12-15 11:07:38 UTC

Attachments (Terms of Use)
Upstream fix (1.24 KB, patch)
2015-12-01 18:44 UTC, Peter Jones
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2623 normal SHIPPED_LIVE Moderate: grub2 security and bug fix update 2016-01-27 14:30:14 UTC

Description Martin Prpič 2015-12-01 09:09:42 UTC
A buffer overflow flaw was found in the way grub2 checked the password entered by the user during bootup. A local attacker could use this flaw to circumvent the password check and, potentially, execute arbitrary code on the system.

Comment 1 Peter Jones 2015-12-01 18:44:26 UTC
Created attachment 1100986 [details]
Upstream fix

Here's the fix.

Comment 7 Martin Prpič 2015-12-10 13:14:13 UTC
Created grub2 tracking bugs for this issue:

Affects: fedora-all [bug 1290417]

Comment 8 Martin Prpič 2015-12-10 13:16:20 UTC
This flaw has been presented at the CCN-CERT conference by the UPV security team:


Comment 9 errata-xmlrpc 2015-12-15 10:02:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2623 https://rhn.redhat.com/errata/RHSA-2015-2623.html

Comment 10 Tomas Hoger 2015-12-15 14:14:05 UTC
Detailed write-up from the original reporters.

External References:


Note You need to log in before you can comment on or make changes to this bug.