Skip to content
RCE Write-up Advanced

Argument injection vulnerability in multiple Atos Unify OpenScape products

The administrative web interface of Atos Unify OpenScape products insufficiently escapes login credentials before passing them to a user management application, allowing an unauthenticated attacker to inject arguments. This enables root access via SSH and authentication bypass in the web interface.

Armin Weihbold Follow

Published on sec-consult.com

Atos Unify OpenScape Session Border Controller (SBC), Atos Unify OpenScape Branch, Atos Unify OpenScape BCF

Armin Weihbold (@koyaan5), on sec-consult.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The password is escaped with escapeshellcmd instead of escapeshellarg, leaving spaces intact, and the called binary parses arguments without checking for duplicates, allowing an attacker to override parameters.

Impact

An unauthenticated attacker could gain root access to the appliance via SSH and bypass authentication in the administrative interface to log in as an administrator.

What the attacker needed

Network access to the web interface; no credentials required

The fix

The vendor provides a patch for the affected products; users should install the latest patch and limit access to the administrative web application and SSH ports.

How it was found

  1. Attempt login with username 'administrator' and a password containing injected arguments to create a new user with SSH access.
  2. Attempt login again with a password containing arguments to change the root password.
  3. Log in via SSH with the newly created user and use sudo to gain root 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 write-up has not been written yet. The Original tab links to the source.

The login page takes the password you type and passes it to a system program that manages users. Because the password is not properly escaped, an attacker can add extra instructions (arguments) that the program will execute, such as creating a new user or changing the root password. This lets someone log in without valid credentials and take full control of the device.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Mitel (Atos Unify)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.