SRC-2022-0015 : VMware Workspace ONE Access ApplicationSetupController dbTestConnection JDBC Injection Remote Code Execution Vulnerability (patch bypass)

CVE ID: CVE-2022-31665

CVSS Score: 9.1, (/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)

Affected Vendors: VMWare

Affected Products: Workspace ONE Access, Identity Manager, vRealize Automation

Vulnerability Details: This vulnerability allows remote attackers to execute arbitrary code on affected installations of VMware Workspace ONE Access. Although authentication is required to exploit this vulnerability.

The specific flaw exists within ApplicationSetupController class. The issue results from the lack of proper validation of a user-supplied string before using it to perform a database connection. An attacker can leverage this vulnerability to execute code in the context of the horizon user.

Vendor Response:

VMWare has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline:

  • 2022-07-12 – Sent to VMWare PSIRT

  • 2022-08-02 – Coordinated public release of advisory

Proof of Concept: /pocs/cve-2022-{31664,31665}.py.txt

Credit: This vulnerability was discovered by Steven Seeley (mr_me) of Qihoo 360 Vulnerability Research Institute