关于 CVE-2022-30190(又名 follina)的全部内容,这是一个影响 Microsoft Support Diagnostic Tools (MSDT) 在 Office 应用(如 Word)上的 RCE 漏洞。这是一个非常简单的 POC,欢迎查看下面的来源以获取更多威胁情报。
usage: follina.py [-h] [--command COMMAND] [--ip IP] [--port PORT] [--output OUTPUT] [--reverse REVERSE]
POC for CVE-2022-30190, aka follina
options:
-h, --help show this help message and exit
--command COMMAND, -c COMMAND
The command to run on the victim (defaults to calc.exe)
--ip IP, -i IP IP to serve the payload on (defaults to 127.0.0.1)
--port PORT, -p PORT Port to serve the payload on (defaults to 4444)
--output OUTPUT, -o OUTPUT
Filename for output, should end with extension .doc, .docx or maybe .rtf (defaults to maldoc.docx)
--reverse REVERSE, -r REVERSE
Instantiate a reverse shell connection from the target at port furnished. 64-bits systems only.
从注册表中禁用 MSDT 应能解决此问题
reg delete HKEY_CLASSES_ROOT\ms-msdt /f
https://0xsp.com/offensive/follina-cve-2022-30190-rtf/
https://github.com/JMousqueton/PoC-CVE-2022-30190