CVE-2018-10361: KTextEditor - Privilege Escalation
- Cve: CVE-2018-10361
- Name: KTextEditor - Privilege Escalation
- Description: An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_helper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.
- Impact: Unprivileged local users can escalate privileges to root via symlink attacks, leading to full system compromise.
- Remediation: Update to the latest version of KTextEditor where the issue is fixed or apply security patches addressing temporary file handling.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0038
- Epss percentile: 0.32726
- Assignee: [email protected]
- Published at: 2018-04-25T05:29:00Z
- Age in days: 3135
- Modified at: 2026-06-17T01:33:54Z
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-10361
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-668 | Exposure of Resource to Wrong Sphere |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2018/04/24/1 | Mailing List, Third Party Advisory |
| https://bugzilla.suse.com/show_bug.cgi?id=1033055 | Issue Tracking, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2019/07/09/3 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kde:ktexteditor | >= 5.34.0, <= 5.45.0 | no | nvd | /v1/products/kde/ktexteditor |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts