ID CVE-2011-1595
Summary Directory traversal vulnerability in the disk_create function in disk.c in rdesktop before 1.7.0, when disk redirection is enabled, allows remote RDP servers to read or overwrite arbitrary files via a .. (dot dot) in a pathname.
References
Vulnerable Configurations
  • rdesktop 1.5.0
    cpe:2.3:a:rdesktop:rdesktop:1.5.0
  • cpe:2.3:a:rdesktop:rdesktop:1.0.0
    cpe:2.3:a:rdesktop:rdesktop:1.0.0
  • cpe:2.3:a:rdesktop:rdesktop:1.1.0
    cpe:2.3:a:rdesktop:rdesktop:1.1.0
  • rdesktop 1.2.0
    cpe:2.3:a:rdesktop:rdesktop:1.2.0
  • rdesktop 1.3.0
    cpe:2.3:a:rdesktop:rdesktop:1.3.0
  • rdesktop 1.3.1
    cpe:2.3:a:rdesktop:rdesktop:1.3.1
  • rdesktop 1.4.1
    cpe:2.3:a:rdesktop:rdesktop:1.4.1
  • rdesktop 1.4.0
    cpe:2.3:a:rdesktop:rdesktop:1.4.0
  • rdesktop 1.6.0
    cpe:2.3:a:rdesktop:rdesktop:1.6.0
CVSS
Base: 4.3 (as of 25-05-2011 - 09:54)
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
ADJACENT_NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2011-0506.NASL
    description An updated rdesktop package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. rdesktop is a client for the Remote Desktop Server (previously, Terminal Server) in Microsoft Windows. It uses the Remote Desktop Protocol (RDP) to remotely present a user's desktop. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Red Hat would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Users of rdesktop should upgrade to this updated package, which contains a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53871
    published 2011-05-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53871
    title CentOS 5 : rdesktop (CESA-2011:0506)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_RDESKTOP-7525.NASL
    description The following bug has been fixed : - A malicious server could access any file on clients connecting to it if the client shared some ressource. (CVE-2011-1595)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 57252
    published 2011-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57252
    title SuSE 10 Security Update : rdesktop (ZYPP Patch Number 7525)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_RDESKTOP-110512.NASL
    description The following bug has been fixed : - A malicious server could access any file on clients connecting to it if the client shared some ressource. (CVE-2011-1595)
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 54642
    published 2011-05-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=54642
    title SuSE 11.1 Security Update : rdesktop (SAT Patch Number 4547)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0506.NASL
    description An updated rdesktop package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. rdesktop is a client for the Remote Desktop Server (previously, Terminal Server) in Microsoft Windows. It uses the Remote Desktop Protocol (RDP) to remotely present a user's desktop. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Red Hat would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Users of rdesktop should upgrade to this updated package, which contains a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 53873
    published 2011-05-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53873
    title RHEL 5 / 6 : rdesktop (RHSA-2011:0506)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2011-110-01.NASL
    description New rdesktop packages are available for Slackware 11.0, 12.0, 12.1, 12.2, 13.0, 13.1, and -current to fix a security issue.
    last seen 2019-02-21
    modified 2018-06-27
    plugin id 53515
    published 2011-04-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53515
    title Slackware 11.0 / 12.0 / 12.1 / 12.2 / 13.0 / 13.1 / current : rdesktop (SSA:2011-110-01)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_4_RDESKTOP-110512.NASL
    description A malicious server could access any file on clients connecting to it if the client shared some ressource (CVE-2011-1595).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 76009
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=76009
    title openSUSE Security Update : rdesktop (openSUSE-SU-2011:0528-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-7697.NASL
    description This update fixes a security issue in rdesktop 1.6.0. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Fedora would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-20
    plugin id 55005
    published 2011-06-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=55005
    title Fedora 14 : rdesktop-1.6.0-11.fc14 (2011-7697)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2011-102.NASL
    description A vulnerability has been identified and fixed in rdesktop : Directory traversal vulnerability in the disk_create function in disk.c in rdesktop before 1.7.0, when disk redirection is enabled, allows remote RDP servers to read or overwrite arbitrary files via a .. (dot dot) in a pathname (CVE-2011-1595). 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 54918
    published 2011-05-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=54918
    title Mandriva Linux Security Advisory : rdesktop (MDVSA-2011:102)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-0506.NASL
    description From Red Hat Security Advisory 2011:0506 : An updated rdesktop package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. rdesktop is a client for the Remote Desktop Server (previously, Terminal Server) in Microsoft Windows. It uses the Remote Desktop Protocol (RDP) to remotely present a user's desktop. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Red Hat would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Users of rdesktop should upgrade to this updated package, which contains a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68274
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68274
    title Oracle Linux 5 / 6 : rdesktop (ELSA-2011-0506)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_3_RDESKTOP-110512.NASL
    description A malicious server could access any file on clients connecting to it if the client shared some ressource (CVE-2011-1595).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75725
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75725
    title openSUSE Security Update : rdesktop (openSUSE-SU-2011:0530-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-7688.NASL
    description This update fixes a security issue in rdesktop 1.6.0. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Fedora would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-20
    plugin id 54963
    published 2011-06-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=54963
    title Fedora 15 : rdesktop-1.6.0-12.fc15 (2011-7688)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110511_RDESKTOP_ON_SL5_X.NASL
    description A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61037
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61037
    title Scientific Linux Security Update : rdesktop on SL5.x, SL6.x i386/x86_64
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2011-7694.NASL
    description This update fixes a security issue in rdesktop 1.6.0. A directory traversal flaw was found in the way rdesktop shared a local path with a remote server. If a user connects to a malicious server with rdesktop, the server could use this flaw to cause rdesktop to read and write to arbitrary, local files accessible to the user running rdesktop. (CVE-2011-1595) Fedora would like to thank Cendio AB for reporting this issue. Cendio AB acknowledges an anonymous contributor working with the SecuriTeam Secure Disclosure program as the original reporter. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 2015-10-20
    plugin id 55004
    published 2011-06-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=55004
    title Fedora 13 : rdesktop-1.6.0-10.fc13 (2011-7694)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201210-03.NASL
    description The remote host is affected by the vulnerability described in GLSA-201210-03 (rdesktop: Directory Traversal) A vulnerability has been discovered in rdesktop. Please review the CVE identifier referenced below for details. Impact : Remote RDP servers may be able to read or overwrite arbitrary files via a .. (dot dot) in a pathname. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 62633
    published 2012-10-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62633
    title GLSA-201210-03 : rdesktop: Directory Traversal
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1136-1.NASL
    description It was discovered that rdesktop incorrectly handled specially crafted paths when using disk redirection. If a user were tricked into connecting to a malicious server, an attacker could access arbitrary files on the user's filesystem. 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 55097
    published 2011-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=55097
    title Ubuntu 10.04 LTS / 10.10 / 11.04 : rdesktop vulnerability (USN-1136-1)
redhat via4
advisories
bugzilla
id 676252
title CVE-2011-1595 rdesktop remote file access
oval
OR
  • AND
    • comment rdesktop is earlier than 0:1.6.0-8.el6_0.1
      oval oval:com.redhat.rhsa:tst:20110506005
    • comment rdesktop is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20110506006
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • comment rdesktop is earlier than 0:1.6.0-3.el5_6.2
      oval oval:com.redhat.rhsa:tst:20110506008
    • comment rdesktop is signed with Red Hat redhatrelease key
      oval oval:com.redhat.rhsa:tst:20080575003
rhsa
id RHSA-2011:0506
released 2011-05-11
severity Moderate
title RHSA-2011:0506: rdesktop security update (Moderate)
rpms
  • rdesktop-0:1.6.0-8.el6_0.1
  • rdesktop-0:1.6.0-3.el5_6.2
refmap via4
bid 47419
confirm
fedora
  • FEDORA-2011-7688
  • FEDORA-2011-7694
  • FEDORA-2011-7697
gentoo GLSA-201210-03
mandriva MDVSA-2011:102
mlist [rdesktop-announce] 20110418 rdesktop 1.7.0 released
sectrack 1025525
secunia
  • 44881
  • 51023
ubuntu USN-1136-1
Last major update 04-04-2013 - 23:01
Published 24-05-2011 - 19:55
Back to Top