exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

IVIZ-08-009.txt

IVIZ-08-009.txt
Posted Aug 26, 2008
Authored by Jonathan Brossard | Site ivizsecurity.com

The password checking routine of Grub fails to sanitize the BIOS keyboard buffer before AND after reading passwords.

tags | advisory
SHA-256 | e6830a2e51a4006859ef717174a6c7a9f4a2c589b17b9d1341a3caf2fa43c057

IVIZ-08-009.txt

Change Mirror Download
-----------------------------------------------------------------------
[ iViZ Security Advisory 08-009 25/08/2008 ]
-----------------------------------------------------------------------
iViZ Techno Solutions Pvt. Ltd.
http://www.ivizsecurity.com
-----------------------------------------------------------------------

* Title: Grub Legacy Security Model bypass exploiting wrong BIOS API
usage
* Date: 25/08/2008
* Software: Grub Legacy

--[ Synopsis:

The password checking routine of Grub fails to sanitize the
BIOS keyboard buffer before AND after reading passwords.

--[ Affected Software:

* Grub Legacy 0.97 (current) and all previous versions

--[ Technical description:

Grub's pre-boot authentication routines use the BIOS API to
read user input via the keyboard. The BIOS internally copies the
keystrokes in a RAM structure called the BIOS Keyboard buffer
inside the BIOS Data Area. This buffer is not flushed after use,
resulting in potential plain text password leakage once the OS
is fully booted, assuming the attacker can read the password at
physical memory location 0x40:0x1e. It is also possible for a root
user to reboot the computer by instrumenting the BIOS keyboard
buffer in spite of the full disk encryption.


--[ Impact:

1) Plain text password disclosure.
Required privileges to perform this operation are OS dependent,
from unprivileged users under Windows (any), to root under most
Unix.

2) A privileged attacker able to write to the MBR and knowing the
password (for instance thanks to 1), is able to reboot the computer
in spite of the password prompted at boot time (and in spite of
disk encryption) by initializing the BIOS keyboard buffer with the
correct password (using an intermediary bootloader that will in turn
run Grub).

--[ Full Technical Whitepaper

http://www.ivizsecurity.com/research/preboot/preboot_whitepaper.pdf

--[ Vendor response:

* No Response from author in spite of multiple solicitations.

* vendor-sec@lst.de has been intimated and distribution makers are
working on separate fixes.

--[ Credits:

This vulnerability was discovered by Security Researcher
Jonathan Brossard from iViZ Techno Solutions Pvt. Ltd.

--[ Disclosure timeline:

* First private disclosure to vendor on July 15th 2008
* Contacted vendor-sec@lst.de and bug-grub@gnu.org on July 29th 2008
* First Public disclosure at Defcon 16 on August 10th 2008

--[ Reference:

http://www.ivizsecurity.com/security-advisory.html

Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    0 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    0 Files
  • 9
    Aug 9th
    0 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close