Vulnerabilities > CVE-2015-2181 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Roundcube Webmail
Attack vector
NETWORK Attack complexity
LOW Privileges required
SINGLE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers to have unspecified impact via the (1) password or (2) username.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family SuSE Local Security Checks NASL id OPENSUSE-2016-996.NASL description This update for roundcubemail fixes the following vulnerabilities : - CVE-2015-8864: XSS issue in SVG images handling (boo#976988) - CVE-2015-2181: issue in DBMail driver of password plugin Roundcubemail was also updated to 1.0.9, fixing the following bugs : - Fix a regression where some contact data was missing in export and PHP warnings were logged - Enable use of TLSv1.1 and TLSv1.2 for IMAP - Fix bug where Archive/Junk buttons were not active after page jump with select=all mode - Fix bug in long recipients list parsing for cases where recipient name contained @-char - Fix additional_message_headers plugin compatibility with Mail_Mime >= 1.9 - Hide DSN option in Preferences when smtp_server is not used last seen 2020-06-05 modified 2016-08-22 plugin id 93068 published 2016-08-22 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/93068 title openSUSE Security Update : roundcubemail (openSUSE-2016-996) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2016-996. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(93068); script_version("2.4"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2015-2181", "CVE-2015-8864"); script_name(english:"openSUSE Security Update : roundcubemail (openSUSE-2016-996)"); script_summary(english:"Check for the openSUSE-2016-996 patch"); script_set_attribute( attribute:"synopsis", value:"The remote openSUSE host is missing a security update." ); script_set_attribute( attribute:"description", value: "This update for roundcubemail fixes the following vulnerabilities : - CVE-2015-8864: XSS issue in SVG images handling (boo#976988) - CVE-2015-2181: issue in DBMail driver of password plugin Roundcubemail was also updated to 1.0.9, fixing the following bugs : - Fix a regression where some contact data was missing in export and PHP warnings were logged - Enable use of TLSv1.1 and TLSv1.2 for IMAP - Fix bug where Archive/Junk buttons were not active after page jump with select=all mode - Fix bug in long recipients list parsing for cases where recipient name contained @-char - Fix additional_message_headers plugin compatibility with Mail_Mime >= 1.9 - Hide DSN option in Preferences when smtp_server is not used" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=976988" ); script_set_attribute( attribute:"solution", value:"Update the affected roundcubemail package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:roundcubemail"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.2"); script_set_attribute(attribute:"patch_publication_date", value:"2016/08/19"); script_set_attribute(attribute:"plugin_publication_date", value:"2016/08/22"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2016-2020 Tenable Network Security, Inc."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE"); if (release !~ "^(SUSE13\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.2", release); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if ( rpm_check(release:"SUSE13.2", reference:"roundcubemail-1.0.9-20.1") ) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "roundcubemail"); }
NASL family SuSE Local Security Checks NASL id OPENSUSE-2015-490.NASL description roundcubemail was updated to version 1.0.6 to fix many minor bugs and three security issues. The following vulnerabilities were fixed : - CVE-2015-2180: security improvement in DBMail driver of password plugin (shell execution) - CVE-2015-2181: security improvement in DBMail driver of password plugin (multiple buffer overflows) - security improvement in contact photo handling last seen 2020-06-05 modified 2015-07-15 plugin id 84754 published 2015-07-15 reporter This script is Copyright (C) 2015-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/84754 title openSUSE Security Update : roundcubemail (openSUSE-2015-490) NASL family SuSE Local Security Checks NASL id OPENSUSE-2016-1419.NASL description roundcubemail was updated to version 1.1.7 and fixes the following issues : - Update to 1.1.7 - A maliciously crafted FROM value could cause extra parameters to be passed to the sendmail command (boo#1012493) - A maliciously crafted email could cause untrusted code to be executed (cross site scripting using $lt;area href=javascript:...>) (boo#982003, CVE-2016-5103) - Avoid HTML styles that could cause potential click jacking (boo#1001856) - Update to 1.1.5 - Fixed security issue in DBMail driver of password plugin (CVE-2015-2181, boo#976988) last seen 2020-06-05 modified 2016-12-12 plugin id 95700 published 2016-12-12 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/95700 title openSUSE Security Update : roundcubemail (openSUSE-2016-1419) NASL family Fedora Local Security Checks NASL id FEDORA_2016-69EB7F9FB2.NASL description **Release 1.1.5** * Plugin API: Added html2text hook * Plugin API: Added addressbook_export hook * Fix missing emoticons on html-to-text conversion * Fix random last seen 2020-06-05 modified 2016-05-02 plugin id 90813 published 2016-05-02 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/90813 title Fedora 23 : roundcubemail-1.1.5-1.fc23 (2016-69eb7f9fb2) NASL family Fedora Local Security Checks NASL id FEDORA_2016-AFF691237E.NASL description **Release 1.1.5** * Plugin API: Added html2text hook * Plugin API: Added addressbook_export hook * Fix missing emoticons on html-to-text conversion * Fix random last seen 2020-06-05 modified 2016-05-09 plugin id 90971 published 2016-05-09 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/90971 title Fedora 24 : roundcubemail-1.1.5-1.fc24 (2016-aff691237e) NASL family SuSE Local Security Checks NASL id OPENSUSE-2016-995.NASL description This update for roundcubemail fixes the following vulnerabilities : - CVE-2015-8864: XSS issue in SVG images handling (boo#976988) - CVE-2015-2181: issue in DBMail driver of password plugin - CVE-2016-4069: Cross-site request forgery in download URLs (boo#976988) Roundcubemail was also updated to 1.1.5, fixing the following bugs : - Plugin API: Add html2text hook - Plugin API: Added addressbook_export hook - Fix missing emoticons on html-to-text conversion - Fix random last seen 2020-06-05 modified 2016-08-22 plugin id 93067 published 2016-08-22 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/93067 title openSUSE Security Update : roundcubemail (openSUSE-2016-995) NASL family Fedora Local Security Checks NASL id FEDORA_2016-A9C8F9DCFF.NASL description **Release 1.1.5** * Plugin API: Added html2text hook * Plugin API: Added addressbook_export hook * Fix missing emoticons on html-to-text conversion * Fix random last seen 2020-06-05 modified 2016-05-02 plugin id 90815 published 2016-05-02 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/90815 title Fedora 22 : roundcubemail-1.1.5-1.fc22 (2016-a9c8f9dcff) NASL family SuSE Local Security Checks NASL id OPENSUSE-2016-1011.NASL description This update for roundcubemail updates roundcubemail to 1.0.9 and fixes the following issues : - CVE-2015-8864 XSS issue in SVG image handling [boo#976988] - CVE-2015-2181 Security issue in DBMail driver of password plugin last seen 2020-06-05 modified 2016-08-23 plugin id 93074 published 2016-08-23 reporter This script is Copyright (C) 2016-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/93074 title openSUSE Security Update : roundcubemail (openSUSE-2016-1011)