Open Automation Software Platform Engine SecureTransferFiles information disclosure vulnerability
The OAS Platform's SecureTransferFiles command lacks authentication, allowing an attacker with valid credentials to read arbitrary files on the underlying system. An attacker could send crafted network requests to read files accessible to the oas-engine service user.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the OAS Engine SecureTransferFiles functionality of Open Automation Software OAS Platform V16.00.0112. A specially-crafted series of network requests can lead to arbitrary file read.
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
The SecureTransferFiles function does not properly authenticate requests, allowing any user with valid credentials to read arbitrary files.
Impact
An attacker with valid credentials could read arbitrary files on the system, limited to those accessible by the oas-engine service user.
What the attacker needed
Valid user credentials in a file-transfer group; network access to TCP port 58727
The fix
The vendor released a patch; additionally, restrict access to the configuration port and use a dedicated low-privilege user account.
How it was found
- Ensure a Security Group with File Transfer permissions and a User Account in that group exist.
- Obtain credentials for that user, either by sniffing network traffic or by creating them if possible.
- Send a SecureTransferFiles command with the desired file path and credentials to TCP port 58727.
- Receive the file contents in the response.
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 a specific command for transferring files does not check who is sending it. If an attacker can get hold of valid login details (or if default accounts exist), they can trick the system into sending back the contents of any file the service can read, such as system password files. This is dangerous because it can expose sensitive information that could be used for further attacks.
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.