Skip to content
RCE Write-up Intermediate

Remote code execution and elevation of local privileges in Mitel Unify OpenStage and OpenScape VoIP phones

The Work Point Interface on Mitel Unify OpenStage and OpenScape phones lacks authentication and does not verify the deployment service, allowing a network-local attacker to send a malicious DLS response that enables SSH and sets a known admin password. This gives the attacker admin access, and further privilege escalation via writable files or SUID programs can lead to root access.

Pentagrid Follow

Published on pentagrid.ch

During a research project, Pentagrid identified multiple vulnerabilities in the OpenStage and OpenScape VoIP phone series. The combination of insecure defaults and implementation weaknesses allows a remote compromise and the elevation of privileges for a network-local attacker on phones with an unhardened default…

Pentagrid AG, on pentagrid.ch

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

Likely the phone's Work Point Interface accepts unauthenticated connections and does not verify the identity of the deployment server, combined with insecure file permissions and SUID binaries that allow local privilege escalation.

Impact

A network-local attacker could gain admin access to the phone, enabling SSH and setting a known password, and then escalate to root, allowing wiretapping and microphone access; the exploit requires the phone to be in an unhardened default configuration.

What the attacker needed

Access to the local network; phone in default configuration

The fix

The vulnerabilities were fixed by updating to a recent firmware version and enabling 'secure mode' which activates certificate verification, as per the vendor advisory.

How it was found

  1. Send a request to the phone's web interface or WPI to make it contact an attacker-controlled DLS server.
  2. The phone connects to the malicious DLS server and sends a nonce.
  3. The malicious server replies with an XML message that includes the nonce and instructs the phone to enable SSH and set an admin password.
  4. The attacker connects to the phone via SSH as admin using the set password.
  5. The attacker exploits writable files or SUID programs to escalate to root.

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.

These phones have a management interface that anyone on the same network can talk to without proving who they are. An attacker can pretend to be the phone's management server and tell the phone to turn on remote login with a password the attacker chooses. Once logged in, the attacker can take full control of the phone, including listening to calls or room audio.

What is RCE?

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

More by Pentagrid

View all

2 more disclosed reports, best first.

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.