CVE-2025-58762
CVE-2025-58762
Weakness (CWE)
CVSS Vector
v3.1- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- High
- User Interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Description
Tautulli is a Python based monitoring and tracking tool for Plex Media Server. In Tautulli v2.15.3 and earlier, an attacker with administrative access can use the `pms_image_proxy` endpoint to write arbitrary python scripts into the application filesystem. This leads to remote code execution when combined with the `Script` notification agent. If an attacker with administrative access changes the URL of the PMS to a server they control, they can then abuse the `pms_image_proxy` to obtain a file write into the application filesystem. This can be done by making a `pms_image_proxy` request with a URL in the `img` parameter and the desired file name in the `img_format` parameter. Tautulli then uses a hash of the desired metadata together with the `img_format` in order to construct a file path. Since the attacker controls `img_format` which occupies the end of the file path, and `img_format` is not sanitised, the attacker can then use path traversal characters to specify filename of their choosing. If the specified file does not exist, Tautaulli will then attempt to fetch the image from the configured PMS. Since the attacker controls the PMS, they can return arbitrary content in response to this request, which will then be written into the specified file. An attacker can write an arbitrary python script into a location on the application file system. The attacker can then make use of the built-in `Script` notification agent to run the local script, obtaining remote code execution on the application server. Users should upgrade to version 2.16.0 to receive a patch.
Comprehensive Technical Analysis of CVE-2025-58762
1. Vulnerability Assessment and Severity Evaluation
CVE ID: CVE-2025-58762 CVSS Score: 9.1
Severity Evaluation: The CVSS score of 9.1 indicates a critical vulnerability. This high score is due to the potential for remote code execution (RCE), which can lead to complete system compromise. The vulnerability allows an attacker with administrative access to execute arbitrary code on the server, posing a significant risk to the integrity and confidentiality of the system.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Administrative Access: The attacker must first gain administrative access to the Tautulli application. This could be achieved through credential theft, social engineering, or exploiting other vulnerabilities.
pms_image_proxyEndpoint: The attacker can manipulate thepms_image_proxyendpoint to write arbitrary Python scripts into the application filesystem.- Path Traversal: By controlling the
img_formatparameter, the attacker can use path traversal characters to specify a file path of their choosing. - Script Notification Agent: The attacker can then use the built-in
Scriptnotification agent to execute the malicious script, achieving remote code execution.
Exploitation Methods:
- URL Manipulation: The attacker changes the URL of the Plex Media Server (PMS) to a server they control.
- File Write: The attacker makes a
pms_image_proxyrequest with a crafted URL in theimgparameter and the desired file name in theimg_formatparameter. - Arbitrary Content: Since the attacker controls the PMS, they can return arbitrary content in response to the image request, which will be written into the specified file.
- Script Execution: The attacker uses the
Scriptnotification agent to run the local script, obtaining remote code execution.
3. Affected Systems and Software Versions
Affected Software:
- Tautulli v2.15.3 and earlier
Affected Systems:
- Any system running the vulnerable versions of Tautulli, particularly those with administrative access exposed to untrusted networks.
4. Recommended Mitigation Strategies
Immediate Mitigation:
- Upgrade: Users should upgrade to Tautulli version 2.16.0 or later, which includes a patch for this vulnerability.
- Access Control: Restrict administrative access to trusted users only. Implement strong authentication mechanisms and monitor for unusual administrative activities.
- Network Segmentation: Segregate the Tautulli application from other critical systems to limit the impact of a potential compromise.
Long-term Mitigation:
- Regular Patching: Ensure that all software, including Tautulli and its dependencies, are regularly updated to the latest versions.
- Security Audits: Conduct regular security audits and vulnerability assessments to identify and mitigate potential security issues.
- Intrusion Detection: Implement intrusion detection systems (IDS) and intrusion prevention systems (IPS) to monitor for and respond to suspicious activities.
5. Impact on Cybersecurity Landscape
Impact:
- Widespread Adoption: Tautulli is widely used for monitoring Plex Media Servers, making this vulnerability a significant concern for many users.
- RCE Risks: The ability to achieve remote code execution poses a severe risk, as it can lead to data breaches, system compromises, and further attacks on connected systems.
- Administrative Privileges: The requirement for administrative access highlights the importance of robust access control and monitoring mechanisms.
6. Technical Details for Security Professionals
Technical Analysis:
- Endpoint Manipulation: The
pms_image_proxyendpoint is vulnerable due to insufficient input validation and sanitization. Theimg_formatparameter is not properly sanitized, allowing for path traversal attacks. - File Path Construction: Tautulli constructs the file path using a hash of the desired metadata and the
img_formatparameter. Since the attacker controlsimg_format, they can manipulate the file path. - Arbitrary Content Injection: The attacker can control the content returned by the PMS, allowing them to inject arbitrary content into the specified file.
- Script Execution: The
Scriptnotification agent can be used to execute the injected script, leading to remote code execution.
Detection and Response:
- Log Analysis: Monitor logs for unusual administrative activities and requests to the
pms_image_proxyendpoint. - File Integrity Monitoring: Implement file integrity monitoring to detect unauthorized changes to the application filesystem.
- Incident Response: Develop and maintain an incident response plan to quickly address and mitigate any detected exploitation attempts.
Conclusion: CVE-2025-58762 represents a critical vulnerability in Tautulli that can lead to remote code execution. Organizations should prioritize upgrading to the patched version and implementing robust access control and monitoring mechanisms to mitigate the risk. Regular security audits and proactive patch management are essential to maintaining a secure cybersecurity posture.