Open Automation Software OAS Platform OAS Engine User Configuration improper input validation vulnerability
The OAS Engine user configuration accepted unfiltered values in several user fields, so an authenticated administrator could store arbitrary content in the running configuration. With valid credentials, an attacker could add a user whose fields contain an SSH key and save the configuration to a chosen location, gaining access to the underlying system.
Originally disclosed on Cisco Talos
An improper input validation vulnerability exists in the OAS Engine User Configuration functionality of Open Automation Software OAS Platform V19.00.0057. A specially crafted series of network requests can lead to unexpected data in the configuration.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the user configuration handler stored values for the Name, Password, SecurityGroup and Field1-4 keys without validating or filtering them.
Impact
An attacker with valid OAS Platform credentials could gain access to the underlying system, though the configuration server should be restricted to authorised hosts.
What the attacker needed
Valid OAS Platform credentials; administrator-level access
The fix
Access to the OAS Engine configuration server and its traffic should be restricted to only authorised hosts.
How it was found
- Send an authenticated request using the Config_SetProperties protobuf to add a new user.
- Set the username and place an SSH key in one of the unfiltered fields.
- Save the configuration to a strategic location.
- Use the stored SSH key to access the underlying system.
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 report has not been written yet. The Original tab links to the source.
The software lets administrators create user accounts, and it did not check what was typed into some of the account fields. Because of that, someone who already had admin login details could hide an SSH key (a secret file that lets someone log in to a server without a password) inside a user field and use it to get into the machine running the software.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.