Skip to content
RCE Write-up Advanced

One click RCE via macOS Messages – Desktop Version 14.0 (6000)

A malicious message sent through the macOS Messages app could execute an arbitrary command when the victim clicked it. The attacker could therefore run code on the victim's machine, such as opening a calculator.

Vishwaraj Bhattrai Follow

Published on vishwarajbhattrai.wordpress.com

Attacker can send a malicious message to the victim via macOS messages app. Once the victim user will click on the received message it will execute the arbitrary command (such as open a calculator).

vishwaraj bhattrai, on vishwarajbhattrai.wordpress.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 Messages app handled a crafted message in a way that let it launch an arbitrary application without proper checks.

Impact

An attacker could run arbitrary commands on a victim's Mac after the victim clicked a malicious message, though the report only tested macOS versions below Monterey 12.3.

What the attacker needed

Victim uses macOS Messages; victim clicks the malicious message

How it was found

  1. Send a malicious message to the victim through the macOS Messages app.
  2. The victim clicks the received message.
  3. An arbitrary command, such as opening a calculator, is executed.

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 Messages app on a Mac could be tricked into running a program when someone clicked a specially crafted message. Clicking a link or message normally just opens something, but here it could start any program the attacker chose. The report does not explain the technical details of how the message was built.

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 Vishwaraj Bhattrai

View all

4 more disclosed reports, best first.

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.