CVE-2018-10361 Privilege escalation in n/a

High 7.8 Published Updated

Local attackers can escalate privileges to root via symlink attacks on temporary files in KTextEditor when saving files in shared directories.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-10361?

CVE-2018-10361 is a high-severity vulnerability in n/a, published on 25 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-668

Which versions are affected by CVE-2018-10361?

It affects 1 product.

Linux distribution packages (1)
ktexteditor openSUSE:TumbleweedAll versions5.86.0-1.3

Products include Kde Ktexteditor.

How do I fix CVE-2018-10361?

Apply the vendor's patch.

Is CVE-2018-10361 being exploited?

There is no known exploitation of CVE-2018-10361 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-10361, GHSA-4w86-wmpg-xc6m, UBUNTU-CVE-2018-10361, openSUSE-SU-2024:10900-1.

Is CVE-2018-10361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free