module

Remote for Mac Unauthenticated RCE

Disclosed
May 27, 2025
Created
Jun 8, 2025

Description

This module exploits an unauthenticated remote code execution vulnerability in
Remote for Mac versions up to and including 2025.7 via the /api/executeScript endpoint.
When authentication is disabled on the target system, it allows attackers to execute
arbitrary AppleScript commands, which can include shell commands via `do shell script`.
All versions up to 2025.7 (including patch versions) are vulnerable.

Author

Chokri Hammedi ( Chokri Hammedi (@blue0x1)

Platform

OSX,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/osx/http/remote_for_mac_rce
msf exploit(remote_for_mac_rce) > show targets
...targets...
msf exploit(remote_for_mac_rce) > set TARGET < target-id >
msf exploit(remote_for_mac_rce) > show options
...show and set options...
msf exploit(remote_for_mac_rce) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.