Vulnerabilities > CVE-2011-2524 - Path Traversal vulnerability in Gnome Libsoup
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Directory traversal vulnerability in soup-uri.c in SoupServer in libsoup before 2.35.4 allows remote attackers to read arbitrary files via a %2e%2e (encoded dot dot) in a URI.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (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.
Nessus
NASL family Solaris Local Security Checks NASL id SOLARIS11_LIBSOUP_20120918.NASL description The remote Solaris system is missing necessary patches to address security updates : - Directory traversal vulnerability in soup-uri.c in SoupServer in libsoup before 2.35.4 allows remote attackers to read arbitrary files via a %2e%2e (encoded dot dot) in a URI. (CVE-2011-2524) last seen 2020-06-01 modified 2020-06-02 plugin id 80677 published 2015-01-19 reporter This script is Copyright (C) 2015-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/80677 title Oracle Solaris Third-Party Patch Update : libsoup (cve_2011_2524_directory_traversal) NASL family SuSE Local Security Checks NASL id SUSE_11_4_LIBSOUP-2_4-1-110729.NASL description This update of libsoup fixes a directory traversal attack that affect application using the library. CVE-2011-2524: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N) last seen 2020-06-01 modified 2020-06-02 plugin id 75921 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/75921 title openSUSE Security Update : libsoup-2_4-1 (openSUSE-SU-2011:0875-1) NASL family Web Servers NASL id WEB_TRAVERSAL.NASL description It appears possible to read arbitrary files on the remote host outside the web server last seen 2020-06-01 modified 2020-06-02 plugin id 10297 published 1999-11-05 reporter This script is Copyright (C) 1999-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/10297 title Web Server Directory Traversal Arbitrary File Access NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2011-1102.NASL description Updated libsoup 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 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. libsoup is an HTTP client/library implementation for GNOME. A directory traversal flaw was found in libsoup last seen 2020-06-01 modified 2020-06-02 plugin id 55724 published 2011-07-29 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55724 title RHEL 6 : libsoup (RHSA-2011:1102) NASL family SuSE Local Security Checks NASL id SUSE_11_3_LIBSOUP-2_4-1-110729.NASL description This update of libsoup fixes a directory traversal attack that affect application using the library. CVE-2011-2524: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N) last seen 2020-06-01 modified 2020-06-02 plugin id 75614 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/75614 title openSUSE Security Update : libsoup-2_4-1 (openSUSE-SU-2011:0875-1) NASL family Fedora Local Security Checks NASL id FEDORA_2011-9763.NASL description Update to 2.34.3, including fix for CVE-2011-2524 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 2020-06-01 modified 2020-06-02 plugin id 55771 published 2011-08-08 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55771 title Fedora 15 : libsoup-2.34.3-1.fc15 (2011-9763) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201412-09.NASL description The remote host is affected by the vulnerability described in GLSA-201412-09 (Multiple packages, Multiple vulnerabilities fixed in 2011) Vulnerabilities have been discovered in the packages listed below. Please review the CVE identifiers in the Reference section for details. FMOD Studio PEAR Mail LVM2 GnuCash xine-lib Last.fm Scrobbler WebKitGTK+ shadow tool suite PEAR unixODBC Resource Agents mrouted rsync XML Security Library xrdb Vino OProfile syslog-ng sFlow Toolkit GNOME Display Manager libsoup CA Certificates Gitolite QtCreator Racer Impact : A context-dependent attacker may be able to gain escalated privileges, execute arbitrary code, cause Denial of Service, obtain sensitive information, or otherwise bypass security restrictions. Workaround : There are no known workarounds at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 79962 published 2014-12-15 reporter This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/79962 title GLSA-201412-09 : Multiple packages, Multiple vulnerabilities fixed in 2011 NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-1181-1.NASL description It was discovered that libsoup did not properly validate its input when processing SoupServer requests. A remote attacker could exploit this to access files via directory traversal. 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 2020-06-01 modified 2020-06-02 plugin id 55731 published 2011-07-29 reporter Ubuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55731 title Ubuntu 10.04 LTS / 10.10 / 11.04 : libsoup2.4 vulnerability (USN-1181-1) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2011-1102.NASL description From Red Hat Security Advisory 2011:1102 : Updated libsoup 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 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. libsoup is an HTTP client/library implementation for GNOME. A directory traversal flaw was found in libsoup last seen 2020-06-01 modified 2020-06-02 plugin id 68315 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/68315 title Oracle Linux 6 : libsoup (ELSA-2011-1102) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2012-036.NASL description A vulnerability has been found and corrected in libsoup : Directory traversal vulnerability in soup-uri.c in SoupServer in libsoup before 2.35.4 allows remote attackers to read arbitrary files via a \%2e\%2e (encoded dot dot) in a URI (CVE-2011-2524). The updated packages have been patched to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 58475 published 2012-03-26 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/58475 title Mandriva Linux Security Advisory : libsoup (MDVSA-2012:036) NASL family Scientific Linux Local Security Checks NASL id SL_20110728_LIBSOUP_ON_SL6_X.NASL description libsoup is an HTTP client/library implementation for GNOME. A directory traversal flaw was found in libsoup last seen 2020-06-01 modified 2020-06-02 plugin id 61102 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61102 title Scientific Linux Security Update : libsoup on SL6.x i386/x86_64 NASL family Debian Local Security Checks NASL id DEBIAN_DSA-2369.NASL description It was discovered that libsoup, a HTTP library implementation in C, is not properly validating input when processing requests made to SoupServer. A remote attacker can exploit this flaw to access system files via a directory traversal attack. last seen 2020-03-17 modified 2012-01-12 plugin id 57509 published 2012-01-12 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/57509 title Debian DSA-2369-1 : libsoup2.4 - insufficient input sanitization NASL family Fedora Local Security Checks NASL id FEDORA_2011-9820.NASL description Fix CVE-2011-2524 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 2020-06-01 modified 2020-06-02 plugin id 56297 published 2011-09-26 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/56297 title Fedora 14 : libsoup-2.32.2-2.fc14 (2011-9820) NASL family SuSE Local Security Checks NASL id SUSE_11_LIBSOUP-110731.NASL description This update of libsoup fixes a directory traversal attack that affect application using the library. CVE-2011-2524: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N) last seen 2020-06-01 modified 2020-06-02 plugin id 55774 published 2011-08-08 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/55774 title SuSE 11.1 Security Update : libsoup (SAT Patch Number 4945)
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
References
- http://git.gnome.org/browse/libsoup/tree/NEWS
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/063431.html
- http://secunia.com/advisories/47299
- http://www.debian.org/security/2011/dsa-2369
- http://www.redhat.com/support/errata/RHSA-2011-1102.html
- http://www.securitytracker.com/id?1025864
- http://www.ubuntu.com/usn/USN-1181-1
- https://bugzilla.gnome.org/show_bug.cgi?id=653258
- http://git.gnome.org/browse/libsoup/tree/NEWS
- https://bugzilla.gnome.org/show_bug.cgi?id=653258
- http://www.ubuntu.com/usn/USN-1181-1
- http://www.securitytracker.com/id?1025864
- http://www.redhat.com/support/errata/RHSA-2011-1102.html
- http://www.debian.org/security/2011/dsa-2369
- http://secunia.com/advisories/47299
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/063431.html