SUSP_EXPL_POC_VMWare_Workspace_ONE_CVE_2022_22954_Apr22_1
Description
Detects payload as seen in PoC code to exploit Workspace ONE Access freemarker server-side template injection CVE-2022-22954
Query · yara
strings:
$x2 = "${\"freemarker.template.utility.Execute\"?new()("
$x3 = "cat /etc/passwd\")).(#execute=#instancemanager.newInstance(\"freemarker.template.utility.Execute"
$x4 = "cat /etc/passwd\\\")).(#execute=#instancemanager.newInstance(\\\"freemarker.template.utility.Execute"
$x5 = "cat /etc/shadow\")).(#execute=#instancemanager.newInstance(\"freemarker.template.utility.Execute"
$x6 = "cat /etc/shadow\\\")).(#execute=#instancemanager.newInstance(\\\"freemarker.template.utility.Execute"
$fpg1 = "All Rights"
$fpg2 = "<html"
$fpg3 = "<HTML"
$fpg4 = "Copyright" ascii wide
$fpg5 = "License"
$fpg6 = "<?xml"
$fpg7 = "Help" fullword
$fpg8 = "COPYRIGHT" ascii wide fullword
$fpg9 = "Backup"
$fp1 = "severity: critical" // nuclei
condition:
1 of ($x*)
and not 1 of ($fp*)