VMware Workspace ONE RCE 취약점(CVE-2022–22954)
The VMware Workspace ONE Access and Identity Manager products passed the deviceUdid parameter from an OAuth verification endpoint into the Apache FreeMarker template engine without validation, allowing server-side template injection. An unauthenticated attacker could send a crafted HTTP request to run arbitrary system commands on the server.
medium.com
Published on medium.com
이러한 작� 을 자동화하는 것이 � �플릿 엔진(Template Engine)이다. � �플릿 엔진은 데이터베이스 등에서 가져온 데이터를 � �플릿에 채워 넣어 최� 웹 페이지를 완성한다. 예를 들어, Hello, ${user.name}!와 같은 � �플릿 코드에서 ${user.name}에 실제 사용자의 이름을 삽� 하는 방식이다.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application passed user-controlled input from the deviceUdid parameter directly into the FreeMarker template engine without sanitisation, and FreeMarker's utility classes allowed command execution from template code.
Impact
An unauthenticated attacker could execute arbitrary commands on the server, and this was chained with a local privilege escalation flaw to gain root; CISA warned of active exploitation and attacks continued against unpatched systems.
What the attacker needed
Network access to the vulnerable endpoint; no authentication required
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A template engine fills in blanks in a web page, like putting a name into a greeting. Here the server treated a value from the user as part of the template code itself, so a malicious value could make the server run commands. This let an attacker run their own programs on the server without logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.