Local command execution via unsanitized service names
Published May 19, 2024 · Updated Feb 13, 2025
Command injection in Linux Mint MintUpload 4.2.0 and earlier allows local users to execute commands via a crafted service name. The check_connection and drop_data_received_cb handlers interpolate the configured service name into os.system command strings without shell escaping, while Service.remove does the same with a service filename. Exploitation requires local write access to the service file or filename and a subsequent connection check, file drop, or service removal, after which commands run with that user's privileges.
Summary
What happened
Command injection in Linux Mint MintUpload 4.2.0 and earlier allows local users to execute commands via a crafted service name. The check_connection and drop_data_received_cb handlers interpolate the configured service name into os.system command strings without shell escaping, while Service.remove does the same with a service filename. Exploitation requires local write access to the service file or filename and a subsequent connection check, file drop, or service removal, after which commands run with that user's privileges.
The record
- CVE
- CVE-2024-36053
- Published
- May 19, 2024
- Updated
- Feb 13, 2025
- Vendor
- Linux Mint
- Product
- MintUpload
- Classifications
- CWE-20, T1059.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- May 19, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=- <=4.2.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- MintUpload issue 42 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo