Skip to content
RCE Advisory Intermediate CVE-2022-42492CVE-2022-42491CVE-2022-42493CVE-2022-42490

Siretta QUARTZ-GOLD m2m m2m_parse_router_config cmd OS command injection vulnerabilities

The m2m binary of the Siretta QUARTZ-GOLD router passes unsanitised data from UDP packets to a system() call, allowing OS command injection. An attacker can send a crafted network request to execute arbitrary commands.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

Several OS command injection vulnerabilities exist in the m2m binary of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network request can lead to arbitrary command execution.

Francesco Benvenuto, 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

The m2m_parse_router_config function copies user-supplied data into a command string passed to system() without sanitisation.

Impact

An attacker can execute arbitrary OS commands on the device, potentially leading to full compromise.

What the attacker needed

M2M feature enabled; network access to the m2m service

The fix

The vendor released a patch on 2022-11-24.

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.

The router runs a background program that takes commands from the network. It builds a system command using text from the network without checking it, so an attacker can add extra commands that the router will run.

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 Francesco Benvenuto

View all

152 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.

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.