Open Automation Software OAS Platform OAS Engine authentication bypass vulnerability
The OAS Engine encrypts administrator credentials using a key derived from a predictable seed and a hardcoded base key, making the encryption key recoverable. An attacker who can sniff network traffic could decrypt the credentials and gain unauthorised access.
An authentication bypass vulnerability exists in the OAS Engine authentication functionality of Open Automation Software OAS Platform v18.00.0072. A specially crafted network sniffing can lead to decryption of sensitive information.
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 encryption key is derived from a predictable seed value and a hardcoded base key, making it recoverable by anyone who observes the traffic.
Impact
An attacker who can sniff network traffic could decrypt administrator credentials and use them to access the OAS Engine.
What the attacker needed
Ability to sniff network traffic; target runs OAS Platform v18.00.0072
The fix
The vendor released a fixed version (v19) that should be installed; additionally, access to the OAS Engine configuration server and its traffic should be restricted to authorised hosts.
How it was found
- Capture network traffic containing OAS Engine requests with the U_EP structure.
- Extract the Seed value from the U_EP structure.
- Compute the encryption key using the seed and the base key.
- Decrypt the DataAsBytes field using AES-CBC with a null IV.
- Deserialize the decrypted data to obtain the username and encrypted password.
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 protects admin passwords by scrambling them with a secret key, but that key is built from a number that is sent along with the data and a fixed string. Anyone who can listen to the network traffic can work out the key and unscramble the passwords.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.