Skip to content
Access control Advisory Intermediate CVE-2023-31242

Open Automation Software OAS Platform OAS Engine authentication bypass vulnerability

The OAS Engine does not require authentication by default when no admin user is configured, and if an admin user is created but the configuration is not saved before a restart, the system reverts to this unauthenticated state. An attacker can send a specially crafted network request to check for this condition and then create a new admin user, gaining full access to the underlying system.

A member Follow

Originally disclosed on Cisco Talos

High 8.1 View original

An authentication bypass vulnerability exists in the OAS Engine functionality of Open Automation Software OAS Platform v18.00.0072. A specially-crafted series of network requests can lead to arbitrary authentication.

a member, on Cisco Talos

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 system defaults to no authentication when no admin user is configured, and configuration changes are not persisted across restarts unless explicitly saved.

Impact

An attacker could gain full administrative access to the OAS Engine and the underlying system, potentially leading to complete compromise.

What the attacker needed

OAS Engine installed with no admin user set; or admin user created but configuration not saved before…; network access to the OAS Engine

The fix

The vulnerability was fixed in version v19; additionally, administrators should set an admin user and save the configuration immediately after installation, and restrict network access to the OAS Engine configuration server.

How it was found

  1. Send a protobuf request with an OASPacket having CommandNumber 0x13F to check for unauthenticated access.
  2. If the response contains 'Create an Admin User' in the MtcExpirationString field, the system is vulnerable.
  3. Use the user creation and save configuration functionality to create a new admin user and gain access.

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.

This report describes a flaw in an industrial automation platform where, after installation, the system does not require a username or password for administrative actions. If the administrator sets up an account but forgets to save the configuration before restarting, the system goes back to this open state. An attacker can then send a simple network message to check if the system is open and, if so, create their own admin account and take control.

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.

More by A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.