Vulnerabilities > CVE-2015-2181 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Roundcube Webmail

047910
CVSS 8.8 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
roundcube
CWE-119
nessus

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.

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 familySuSE Local Security Checks
    NASL idOPENSUSE-2016-996.NASL
    descriptionThis 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 seen2020-06-05
    modified2016-08-22
    plugin id93068
    published2016-08-22
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/93068
    titleopenSUSE 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 familySuSE Local Security Checks
    NASL idOPENSUSE-2015-490.NASL
    descriptionroundcubemail 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 seen2020-06-05
    modified2015-07-15
    plugin id84754
    published2015-07-15
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/84754
    titleopenSUSE Security Update : roundcubemail (openSUSE-2015-490)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-1419.NASL
    descriptionroundcubemail 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 seen2020-06-05
    modified2016-12-12
    plugin id95700
    published2016-12-12
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/95700
    titleopenSUSE Security Update : roundcubemail (openSUSE-2016-1419)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_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 seen2020-06-05
    modified2016-05-02
    plugin id90813
    published2016-05-02
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90813
    titleFedora 23 : roundcubemail-1.1.5-1.fc23 (2016-69eb7f9fb2)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_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 seen2020-06-05
    modified2016-05-09
    plugin id90971
    published2016-05-09
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90971
    titleFedora 24 : roundcubemail-1.1.5-1.fc24 (2016-aff691237e)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-995.NASL
    descriptionThis 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 seen2020-06-05
    modified2016-08-22
    plugin id93067
    published2016-08-22
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/93067
    titleopenSUSE Security Update : roundcubemail (openSUSE-2016-995)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_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 seen2020-06-05
    modified2016-05-02
    plugin id90815
    published2016-05-02
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90815
    titleFedora 22 : roundcubemail-1.1.5-1.fc22 (2016-a9c8f9dcff)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-1011.NASL
    descriptionThis 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 seen2020-06-05
    modified2016-08-23
    plugin id93074
    published2016-08-23
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/93074
    titleopenSUSE Security Update : roundcubemail (openSUSE-2016-1011)