Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-36041: n/a

0
High
VulnerabilityCVE-2024-36041cvecve-2024-36041
Published: Fri Jul 05 2024 (07/05/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

KSmserver in KDE Plasma Workspace (aka plasma-workspace) before 5.27.11.1 and 6.x before 6.0.5.1 allows connections via ICE based purely on the host, i.e., all local connections are accepted. This allows another user on the same machine to gain access to the session manager, e.g., use the session-restore feature to execute arbitrary code as the victim (on the next boot) via earlier use of the /tmp directory.

AI-Powered Analysis

AILast updated: 11/04/2025, 17:56:49 UTC

Technical Analysis

CVE-2024-36041 is a vulnerability in the KDE Plasma Workspace's session manager component, KSmserver, which manages user sessions and their restoration. The flaw arises because KSmserver accepts connections via the Inter-Client Exchange (ICE) protocol based solely on the host identity, effectively trusting all local connections without additional authentication. This design weakness allows any local user on the same machine to connect to the session manager. An attacker can exploit this by using the session-restore feature to inject arbitrary code that will execute as the victim user upon the next system boot. The attack leverages the /tmp directory, which is commonly used for temporary files and can be manipulated to facilitate code execution. The vulnerability affects plasma-workspace versions prior to 5.27.11.1 and 6.x versions before 6.0.5.1. The CVSS 3.1 base score is 7.3, indicating high severity, with attack vector local, low attack complexity, low privileges required, and requiring user interaction. The impact on confidentiality, integrity, and availability is high because an attacker can execute arbitrary code within the victim's session context, potentially leading to full session compromise. Although no exploits are currently known in the wild, the vulnerability poses a significant risk in multi-user environments where local users share the same machine, such as shared workstations or lab environments. The CWE-613 classification indicates a weakness in the trust boundary and insufficient authentication for local connections.

Potential Impact

For European organizations, this vulnerability poses a significant risk in environments where multiple users share the same physical machine, such as universities, research labs, call centers, or development teams using KDE Plasma on Linux workstations. An attacker with local access and low privileges can escalate their capabilities by executing arbitrary code as another user, potentially accessing sensitive data, installing persistent malware, or disrupting services. This can lead to data breaches, loss of user trust, and operational downtime. The high impact on confidentiality, integrity, and availability means that critical systems relying on KDE Plasma for user sessions could be compromised. Organizations with strict data protection regulations, such as GDPR, must consider the legal and compliance implications of such breaches. Additionally, the vulnerability could be exploited in targeted attacks against high-value users within organizations, such as system administrators or executives, if local access is obtained.

Mitigation Recommendations

To mitigate CVE-2024-36041, organizations should immediately upgrade plasma-workspace to version 5.27.11.1 or later, or 6.0.5.1 or later, where the vulnerability is patched. Until patches are applied, restrict local user access to trusted individuals only and enforce strict user account separation to prevent unauthorized local access. Implement mandatory access controls (e.g., SELinux, AppArmor) to limit the ability of local users to interact with session manager components or manipulate the /tmp directory in ways that could facilitate exploitation. Regularly audit and monitor local user activities and session manager logs for suspicious connections or unusual session restore operations. Consider disabling or restricting the session-restore feature if it is not essential. Educate users about the risks of local privilege escalation and enforce strong physical security controls to prevent unauthorized physical or remote local access. Finally, integrate this vulnerability into vulnerability management and incident response plans to ensure rapid detection and remediation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2024-05-18T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a3b50ff58c9332ff073e4

Added to database: 11/4/2025, 5:43:44 PM

Last enriched: 11/4/2025, 5:56:49 PM

Last updated: 11/5/2025, 2:08:05 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats