OS Command Injection in Okta Access Gateway - CVE-2021-28113

 

OS Command Injection in Okta Access Gateway - CVE-2021-28113

Published: March 8, 2023


Vulnerability identifier: #VU73178
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-28113
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Okta
Affected software:
Okta Access Gateway

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the cookieDomain and relayDomain parameters in the "/api/v1/app/idp/" API endpoint. A remote privileged user can send a specially crafted HTTP POST request to the server and execute arbitrary OS commands on the target system.


How to mitigate CVE-2021-28113

Install updates from vendor's website.

Sources