Skip to content
OpenAdvisories
Unscored CVE-2018-10361 EUVD-2018-2435GHSA-4w86-wmpg-xc6m

An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauth_ktexteditor_h…

Published Apr 25, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ktexteditor 5.47.0-1 —
Debian 13 ktexteditor 5.47.0-1 —
Debian 12 ktexteditor 5.47.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ktexteditor No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ktexteditor 5.86.0-1.3 openSUSE-SU-2024:10900-1

Advisories 1

References