VYPR
Unrated severityNVD Advisory· Published Feb 4, 2022· Updated Apr 23, 2025

OS command injection in iTunesRPC-Remastered

CVE-2022-23611

Description

iTunesRPC-Remastered is a Discord Rich Presence for iTunes on Windows utility. In affected versions iTunesRPC-Remastered did not properly sanitize image file paths leading to OS level command injection. This issue has been patched in commit cdcd48b. Users are advised to upgrade.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

iTunesRPC-Remastered up to commit cdcd48b contains an OS command injection via unsanitized image file paths.

Vulnerability

Version commits from 3fa8bbf through cbcea0a of iTunesRPC-Remastered, a Discord Rich Presence for iTunes on Windows, improperly neutralize special elements used in an OS command when handling image file paths. The get function in connect_to_server.py does not sanitize the image_file parameter before using it in file operations, allowing an attacker to inject arbitrary OS commands [1].

Exploitation

An attacker can exploit this vulnerability by providing a specially crafted file path containing command injection payloads. The attacker must have the ability to send requests to the utility's network endpoint that processes image files. No authentication is required if the service is exposed; user interaction is not needed beyond triggering the vulnerable code path in connect_to_server.py [1][2].

Impact

Successful exploitation allows the attacker to achieve OS-level command injection, leading to arbitrary code execution on the affected system. This compromises the confidentiality, integrity, and availability of the host machine at the privilege level of the running iTunesRPC-Remastered process [1].

Mitigation

The vulnerability is fixed in commit cdcd48b, which uses werkzeug.utils.secure_filename and ast.literal_eval to sanitize the image file path [2]. Users on the affected versions (commits between 3fa8bbf and cbcea0a) should upgrade to the patched commit or later. As a workaround, users can manually modify connect_to_server.py and itunesrpc.py as described in the advisory to sanitize the image_file input [1].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.