Skip to content
Misconfiguration Write-up Intermediate

Rooting Mitel Desk Phones Through the Backdoor (CVE-2022-29854, CVE-2022-29855)

The firmware of Mitel 6800/6900 desk phones contains an undocumented backdoor script that, when the * and # keys are held at boot, sets a static IP and a known root password and starts a telnet service. A physical attacker could use this to gain root privileges on the phone.

Moritz Abrell Follow

Published on blog.syss.com

During a security analysis of an enterprise communication infrastructure, IT security expert Moritz Abrell identified an “undocumented functionality” (backdoor) in the firmware of Mitel 6800/6900 desk phones, which allows a physical attacker gaining root privileges on the phone. The vulnerability was reported to the…

Moritz Abrell, on blog.syss.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

Likely the firmware includes a hidden diagnostic or test script that is executed at boot and enables a telnet service with a hardcoded root password when a specific key combination is detected.

Impact

A physical attacker could gain root privileges on the phone, potentially allowing further compromise of the device and the network.

What the attacker needed

Physical access to the phone; ability to hold * and # keys during boot

The fix

The vulnerability was fixed by Mitel through appropriate patches.

How it was found

  1. Extract the firmware and mount the JFFS2 file system.
  2. Locate the inner JFFS2 file system and mount it.
  3. Find the script check_mft.sh in the etc folder.
  4. At system startup, press and hold the * and # keys simultaneously.
  5. The script sets a static IP address and a static root password, then starts telnetd.

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.

This is a backdoor hidden in the phone's software. If someone holds two keys while the phone starts, it secretly opens a remote login service with a fixed password, letting anyone on the same network log in as the administrator (root).

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Moritz Abrell

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.