CVE-2024-36041: n/a
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Poland, Italy, Spain, Belgium
CVE-2024-36041: n/a
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
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.
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12497: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in averta Premium Portfolio Features for Phlox theme
HighCVE-2025-11745: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in spacetime Ad Inserter – Ad Manager & AdSense Ads
MediumCVE-2025-58337: CWE-284 Improper Access Control in Apache Software Foundation Apache Doris-MCP-Server
UnknownCVE-2025-12469: CWE-862 Missing Authorization in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumCVE-2025-12468: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.