CVE-2011-1586 Path traversal in n/a

Medium 5.8 Published Updated

Remote attackers can create arbitrary files via path traversal in KGet metalink files, requiring user interaction to open the malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-1586?

CVE-2011-1586 is a medium-severity path traversal vulnerability in n/a, published on 27 Apr 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Directory traversal vulnerability in the KGetMetalink::File::isValidNameAttr function in ui/metalinkcreator/metalinker.cpp in KGet in KDE SC 4.6.2 and earlier allows remote attackers to create arbitrary files via a .. (dot dot) in the name attribute of a file element in a metalink file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-1000.

Weakness: CWE-22

Which versions are affected by CVE-2011-1586?

It affects 1 product.

Linux distribution packages (12)
kdenetwork Red Hat:enterprise_linux:6::clientAll versions7:4.3.4-11.el6_0.1
kdenetwork-debuginfo Red Hat:enterprise_linux:6::clientAll versions7:4.3.4-11.el6_0.1
kdenetwork-devel Red Hat:enterprise_linux:6::clientAll versions7:4.3.4-11.el6_0.1
kdenetwork-libs Red Hat:enterprise_linux:6::clientAll versions7:4.3.4-11.el6_0.1
kdenetwork Red Hat:enterprise_linux:6::serverAll versions7:4.3.4-11.el6_0.1
kdenetwork-debuginfo Red Hat:enterprise_linux:6::serverAll versions7:4.3.4-11.el6_0.1
kdenetwork-devel Red Hat:enterprise_linux:6::serverAll versions7:4.3.4-11.el6_0.1
kdenetwork-libs Red Hat:enterprise_linux:6::serverAll versions7:4.3.4-11.el6_0.1
kdenetwork Red Hat:enterprise_linux:6::workstationAll versions7:4.3.4-11.el6_0.1
kdenetwork-debuginfo Red Hat:enterprise_linux:6::workstationAll versions7:4.3.4-11.el6_0.1
kdenetwork-devel Red Hat:enterprise_linux:6::workstationAll versions7:4.3.4-11.el6_0.1
kdenetwork-libs Red Hat:enterprise_linux:6::workstationAll versions7:4.3.4-11.el6_0.1

Products include Kde Kde Sc.

How do I fix CVE-2011-1586?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2011-1586 being exploited?

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

Sources

Also known as GHSA-w8p8-fqqv-v8w8, RHSA-2011:0465.

Is CVE-2011-1586 in your software?

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

Check your SBOMs for free