Open Automation Software OAS Platform OAS Engine User Creation improper input validation vulnerability
The OAS Engine user creation function does not validate the username field, allowing arbitrary characters to be stored in the configuration. When combined with an authentication bypass and the save configuration feature, an attacker could add a user whose username contains an SSH key, potentially gaining access to the underlying system.
An improper input validation vulnerability exists in the OAS Engine User Creation functionality of Open Automation Software OAS Platform v18.00.0072. 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 creation endpoint fails to validate or sanitise the username input before storing it in the configuration.
Impact
An attacker could store unexpected data in the configuration and, when chained with an authentication bypass and the save configuration function, may gain access to the underlying system.
What the attacker needed
Authenticated access to OAS Engine; ability to create users; authentication bypass vulnerability; save configuration functionality
The fix
The vulnerability was fixed in version v19, and access to the configuration server should be restricted to authorised hosts.
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, but it does not check what characters are used in the username. An attacker who can bypass login could put special text (like an SSH key) into the username field and then save the configuration, which might let them log into the underlying operating system.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.