Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 543153 - (CVE-2009-4128) CVE-2009-4128 grub2: Improper password checking
CVE-2009-4128 grub2: Improper password checking
Status: CLOSED UPSTREAM
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
http://bugs.debian.org/cgi-bin/bugrep...
impact=moderate,source=cve,reported=2...
: Security
Depends On: 543677
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-01 14:26 EST by Jan Lieskovsky
Modified: 2011-06-17 16:01 EDT (History)
3 users (show)

See Also:
Fixed In Version: grub2 1.98
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-06-17 15:59:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Local copy of above mentioned bzr diff (905 bytes, patch)
2009-12-01 14:36 EST, Jan Lieskovsky
no flags Details | Diff

  None (edit)
Description Jan Lieskovsky 2009-12-01 14:26:00 EST
Common Vulnerabilities and Exposures assigned an identifier CVE-2009-4128 to
the following vulnerability:

GNU GRand Unified Bootloader (GRUB) 2 1.97 only compares the submitted
portion of a password with the actual password, which makes it easier
for physically proximate attackers to conduct brute force attacks and
bypass authentication by submitting a password whose length is 1.

References:
-----------
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4128
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555195
[3] http://www.securityfocus.com/bid/36968
[4] http://xforce.iss.net/xforce/xfdb/54210
Comment 1 Jan Lieskovsky 2009-12-01 14:34:54 EST
While Debian bug report [2] speaks about following commit:

 * New upstream snapshot.
     - Fix security problem with password checking.  (Closes: #555195)

The only relevant auth.c commit I was able to find:
  
  bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub/
  bzr log > /tmp/grub2_bzr.log

is this one:

<quote>

revno: 1805
committer: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
branch nick: trunk
timestamp: Mon 2009-11-09 00:16:17 +0100
message:
  2009-11-09  Vladimir Serbinenko  <phcoder@gmail.com>

        * normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function
        being insecure.

</quote>

The relevant patch can be retrieved as:

  bzr diff -r 1804..1805

Also, looks it will need to be tuned up a little bit, as the definition
of grub_auth_strcmp() between grub-1.97.1 and trunk has changed.
Comment 2 Jan Lieskovsky 2009-12-01 14:36:55 EST
Created attachment 375176 [details]
Local copy of above mentioned bzr diff
Comment 3 Jan Lieskovsky 2009-12-01 14:40:57 EST
Lubomir, Dennis, 

  could you please check above issue and confirm patch mentioned in 
comment c#2 is the proper one?

  Once this is confirmed, grub2 package updates should be prepared for
Fedora 12 and Fedora Rawhide.

Thanks, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Response Team
Comment 5 Vincent Danen 2011-06-17 15:59:44 EDT
This is fixed in upstream 1.98, which we have in all supported versions of Fedora.

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