ID CVE-2011-1586
Summary 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.
References
Vulnerable Configurations
  • KDE Software Compilation (SC) 4.4.2
    cpe:2.3:a:kde:kde_sc:4.4.2
  • KDE Software Compilation (SC) 4.5.1
    cpe:2.3:a:kde:kde_sc:4.5.1
  • KDE Software Compilation (SC) 4.4.0
    cpe:2.3:a:kde:kde_sc:4.4.0
  • KDE Software Compilation (SC) 4.3.0
    cpe:2.3:a:kde:kde_sc:4.3.0
  • KDE Software Compilation (SC) 4.2.2
    cpe:2.3:a:kde:kde_sc:4.2.2
  • KDE Software Compilation (SC) 4.1.2
    cpe:2.3:a:kde:kde_sc:4.1.2
  • KDE Software Compilation (SC) 4.4.1
    cpe:2.3:a:kde:kde_sc:4.4.1
  • KDE Software Compilation (SC) 4.3.5
    cpe:2.3:a:kde:kde_sc:4.3.5
  • KDE Software Compilation (SC) 4.3.4
    cpe:2.3:a:kde:kde_sc:4.3.4
  • KDE Software Compilation (SC) 4.3.1
    cpe:2.3:a:kde:kde_sc:4.3.1
  • KDE Software Compilation (SC) 4.0.0 beta3
    cpe:2.3:a:kde:kde_sc:4.0.0:beta3
  • KDE Software Compilation (SC) 4.0.0 beta2
    cpe:2.3:a:kde:kde_sc:4.0.0:beta2
  • KDE Software Compilation (SC) 4.0.0 beta1
    cpe:2.3:a:kde:kde_sc:4.0.0:beta1
  • KDE Software Compilation (SC) 4.0.0 alpha1
    cpe:2.3:a:kde:kde_sc:4.0.0:alpha1
  • KDE Software Compilation (SC) 4.0.0 alpha2
    cpe:2.3:a:kde:kde_sc:4.0.0:alpha2
  • KDE Software Compilation (SC) 4.0.1
    cpe:2.3:a:kde:kde_sc:4.0.1
  • KDE Software Compilation (SC) 4.0.2
    cpe:2.3:a:kde:kde_sc:4.0.2
  • KDE Software Compilation (SC) 4.0.3
    cpe:2.3:a:kde:kde_sc:4.0.3
  • KDE Software Compilation (SC) 4.0.4
    cpe:2.3:a:kde:kde_sc:4.0.4
  • KDE Software Compilation (SC) 4.0.5
    cpe:2.3:a:kde:kde_sc:4.0.5
  • KDE Software Compilation (SC) 4.1.0 alpha1
    cpe:2.3:a:kde:kde_sc:4.1.0:alpha1
  • KDE Software Compilation (SC) 4.1.0 beta1
    cpe:2.3:a:kde:kde_sc:4.1.0:beta1
  • KDE Software Compilation (SC) 4.1.0 beta2
    cpe:2.3:a:kde:kde_sc:4.1.0:beta2
  • KDE Software Compilation (SC) 4.1.0 release candidate
    cpe:2.3:a:kde:kde_sc:4.1.0:rc
  • KDE Software Compilation (SC) 4.1.0
    cpe:2.3:a:kde:kde_sc:4.1.0
  • KDE Software Compilation (SC) 4.4.4
    cpe:2.3:a:kde:kde_sc:4.4.4
  • KDE Software Compilation (SC) 4.5.0
    cpe:2.3:a:kde:kde_sc:4.5.0
  • KDE Software Compilation (SC) 4.4.5
    cpe:2.3:a:kde:kde_sc:4.4.5
  • KDE Software Compilation (SC) 4.1.3
    cpe:2.3:a:kde:kde_sc:4.1.3
  • KDE Software Compilation (SC) 4.1.4
    cpe:2.3:a:kde:kde_sc:4.1.4
  • KDE Software Compilation (SC) 4.2 release candidate
    cpe:2.3:a:kde:kde_sc:4.2:rc
  • KDE Software Compilation (SC) 4.2 beta2
    cpe:2.3:a:kde:kde_sc:4.2:beta2
  • KDE Software Compilation (SC) 4.1.96
    cpe:2.3:a:kde:kde_sc:4.1.96
  • KDE Software Compilation (SC) 4.1.85
    cpe:2.3:a:kde:kde_sc:4.1.85
  • KDE Software Compilation (SC) 4.1.80
    cpe:2.3:a:kde:kde_sc:4.1.80
  • KDE Software Compilation (SC) 4.4.3
    cpe:2.3:a:kde:kde_sc:4.4.3
  • KDE Software Compilation (SC) 4.0.0 beta4
    cpe:2.3:a:kde:kde_sc:4.0.0:beta4
  • KDE Software Compilation (SC) 4.0.0 release candidate 1
    cpe:2.3:a:kde:kde_sc:4.0.0:rc1
  • KDE Software Compilation (SC) 4.0.0 release candidate 2
    cpe:2.3:a:kde:kde_sc:4.0.0:rc2
  • KDE Software Compilation (SC) 4.0.0
    cpe:2.3:a:kde:kde_sc:4.0.0
  • KDE Software Compilation (SC) 4.2.1
    cpe:2.3:a:kde:kde_sc:4.2.1
  • KDE Software Compilation (SC) 4.2.0
    cpe:2.3:a:kde:kde_sc:4.2.0
  • KDE Software Compilation (SC) 4.2.3
    cpe:2.3:a:kde:kde_sc:4.2.3
  • KDE Software Compilation (SC) 4.1.1
    cpe:2.3:a:kde:kde_sc:4.1.1
  • KDE Software Compilation (SC) 4.3.0 release candidate 1
    cpe:2.3:a:kde:kde_sc:4.3.0:rc1
  • KDE Software Compilation (SC) 4.3.0 release candidate 2
    cpe:2.3:a:kde:kde_sc:4.3.0:rc2
  • KDE Software Compilation (SC) 4.3.0 beta1
    cpe:2.3:a:kde:kde_sc:4.3.0:beta1
  • KDE Software Compilation (SC) 4.3.0 beta3
    cpe:2.3:a:kde:kde_sc:4.3.0:beta3
  • KDE Software Compilation (SC) 4.2.4
    cpe:2.3:a:kde:kde_sc:4.2.4
  • KDE Software Compilation (SC) 4.4.0 release candidate 2
    cpe:2.3:a:kde:kde_sc:4.4.0:rc2
  • KDE Software Compilation (SC) 4.4.0 release candidate 3
    cpe:2.3:a:kde:kde_sc:4.4.0:rc3
  • KDE Software Compilation (SC) 4.4.0 beta2
    cpe:2.3:a:kde:kde_sc:4.4.0:beta2
  • KDE Software Compilation (SC) 4.4.0 release candidate 1
    cpe:2.3:a:kde:kde_sc:4.4.0:rc1
  • KDE Software Compilation (SC) 4.3.3
    cpe:2.3:a:kde:kde_sc:4.3.3
  • KDE Software Compilation (SC) 4.4.0 beta1
    cpe:2.3:a:kde:kde_sc:4.4.0:beta1
  • KDE Software Compilation (SC) 4.3.0 release candidate 3
    cpe:2.3:a:kde:kde_sc:4.3.0:rc3
  • KDE Software Compilation (SC) 4.3.2
    cpe:2.3:a:kde:kde_sc:4.3.2
  • cpe:2.3:a:kde:kde_sc:4.5.2
    cpe:2.3:a:kde:kde_sc:4.5.2
  • cpe:2.3:a:kde:kde_sc:4.5.3
    cpe:2.3:a:kde:kde_sc:4.5.3
  • cpe:2.3:a:kde:kde_sc:4.5.4
    cpe:2.3:a:kde:kde_sc:4.5.4
  • cpe:2.3:a:kde:kde_sc:4.5.5
    cpe:2.3:a:kde:kde_sc:4.5.5
  • cpe:2.3:a:kde:kde_sc:4.6:rc1
    cpe:2.3:a:kde:kde_sc:4.6:rc1
  • cpe:2.3:a:kde:kde_sc:4.6:rc2
    cpe:2.3:a:kde:kde_sc:4.6:rc2
  • KDE Software Compilation (SC) 4.6.0
    cpe:2.3:a:kde:kde_sc:4.6.0
  • KDE Software Compilation (SC) 4.6.1
    cpe:2.3:a:kde:kde_sc:4.6.1
  • cpe:2.3:a:kde:kde_sc:4.6:beta2
    cpe:2.3:a:kde:kde_sc:4.6:beta2
  • cpe:2.3:a:kde:kde_sc:4.6:beta1
    cpe:2.3:a:kde:kde_sc:4.6:beta1
  • KDE Software Compilation (SC) 4.6.2
    cpe:2.3:a:kde:kde_sc:4.6.2
  • KDE Software Compilation (SC) 3.5.10
    cpe:2.3:a:kde:kde_sc:3.5.10
  • KDE Software Compilation (SC) 2.2.0
    cpe:2.3:a:kde:kde_sc:2.2.0
CVSS
Base: 5.8 (as of 27-04-2011 - 13:00)
Impact:
Exploitability:
CWE CWE-22
CAPEC
  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Using Escaped Slashes in Alternate Encoding
    This attack targets the use of the backslash in alternate encoding. An attacker can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the attacker tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
nessus via4
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110421_KDENETWORK_ON_SL6_X.NASL
    description A directory traversal flaw was found in the way KGet, a download manager, handled the 'file' element in Metalink files. An attacker could use this flaw to create a specially crafted Metalink file that, when opened, would cause KGet to overwrite arbitrary files accessible to the user running KGet. (CVE-2011-1586) The desktop must be restarted (log out, then log back in) for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61024
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61024
    title Scientific Linux Security Update : kdenetwork on SL6.x i386/x86_64
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2011-081.NASL
    description A vulnerability has been found and corrected in kdenetwork4 : 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 (CVE-2011-1586). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149 products_id=490 The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 53628
    published 2011-05-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53628
    title Mandriva Linux Security Advisory : kdenetwork4 (MDVSA-2011:081)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0465.NASL
    description Updated kdenetwork packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The kdenetwork packages contain networking applications for the K Desktop Environment (KDE). A directory traversal flaw was found in the way KGet, a download manager, handled the 'file' element in Metalink files. An attacker could use this flaw to create a specially crafted Metalink file that, when opened, would cause KGet to overwrite arbitrary files accessible to the user running KGet. (CVE-2011-1586) Users of kdenetwork should upgrade to these updated packages, which contain a backported patch to resolve this issue. The desktop must be restarted (log out, then log back in) for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 53526
    published 2011-04-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53526
    title RHEL 6 : kdenetwork (RHSA-2011:0465)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1114-1.NASL
    description It was discovered that KGet did not properly perform input validation when processing metalink files. If a user were tricked into opening a crafted metalink file, a remote attacker could overwrite files via directory traversal, which could eventually lead to arbitrary code execution. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 55072
    published 2011-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=55072
    title Ubuntu 9.10 / 10.04 LTS / 10.10 : kdenetwork vulnerability (USN-1114-1)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-0465.NASL
    description From Red Hat Security Advisory 2011:0465 : Updated kdenetwork packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The kdenetwork packages contain networking applications for the K Desktop Environment (KDE). A directory traversal flaw was found in the way KGet, a download manager, handled the 'file' element in Metalink files. An attacker could use this flaw to create a specially crafted Metalink file that, when opened, would cause KGet to overwrite arbitrary files accessible to the user running KGet. (CVE-2011-1586) Users of kdenetwork should upgrade to these updated packages, which contain a backported patch to resolve this issue. The desktop must be restarted (log out, then log back in) for this update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68260
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68260
    title Oracle Linux 6 : kdenetwork (ELSA-2011-0465)
redhat via4
advisories
bugzilla
id 697042
title CVE-2011-1586 kdenetwork: incomplete fix for CVE-2010-1000
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment kdenetwork is earlier than 7:4.3.4-11.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110465005
      • comment kdenetwork is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110465006
    • AND
      • comment kdenetwork-devel is earlier than 7:4.3.4-11.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110465009
      • comment kdenetwork-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110465010
    • AND
      • comment kdenetwork-libs is earlier than 7:4.3.4-11.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110465007
      • comment kdenetwork-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110465008
rhsa
id RHSA-2011:0465
released 2011-04-21
severity Important
title RHSA-2011:0465: kdenetwork security update (Important)
rpms
  • kdenetwork-7:4.3.4-11.el6_0.1
  • kdenetwork-devel-7:4.3.4-11.el6_0.1
  • kdenetwork-libs-7:4.3.4-11.el6_0.1
refmap via4
confirm
mandriva MDVSA-2011:081
mlist [oss-security] 20110415 Re: CVE Request: incomplete fix for CVE-2010-1000 in KDE network
secunia
  • 44124
  • 44329
ubuntu USN-1114-1
vupen
  • ADV-2011-1019
  • ADV-2011-1021
  • ADV-2011-1135
xf kget-name-directory-traversal(66826)
Last major update 06-09-2011 - 23:16
Published 26-04-2011 - 20:55
Last modified 16-08-2017 - 21:34
Back to Top