Vulnerabilities > CVE-2007-3510 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in IBM Lotus Domino

047910
CVSS 9.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
ibm
CWE-119
critical
nessus

Summary

Buffer overflow in the IMAP service in IBM Lotus Domino before 6.5.6 FP2, and 7.x before 7.0.3, allows remote authenticated users to execute arbitrary code via a long mailbox name.

Vulnerable Configurations

Part Description Count
Application
Ibm
10

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 familyGain a shell remotely
    NASL idDOMINO_6_5_6FP2.NASL
    descriptionThe version of Lotus Domino on the remote host appears to be older than 6.5.6 FP2. According to IBM, such versions may be affected by several security issues, depending on the specific version and its configuration.
    last seen2020-06-01
    modified2020-06-02
    plugin id27856
    published2007-11-10
    reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27856
    titleIBM Lotus Domino < 6.5.6 FP2 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(27856);
      script_version("1.14");
      script_cvs_date("Date: 2018/07/10 14:27:33");
    
      script_cve_id("CVE-2007-3510", "CVE-2007-5924");
      script_bugtraq_id(26176, 26298);
    
      script_name(english:"IBM Lotus Domino < 6.5.6 FP2 Multiple Vulnerabilities");
      script_summary(english:"Checks version of Lotus Domino");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application that is affected by multiple
    vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Lotus Domino on the remote host appears to be older
    than 6.5.6 FP2.  According to IBM, such versions may be affected by
    several security issues, depending on the specific version and its
    configuration.");
      script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21263871");
      script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg27010980");
      script_set_attribute(attribute:"solution", value:"Upgrade to Lotus Domino 6.5.6 FP2 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_core", value:"true");
      script_cwe_id(79, 119);
    
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/11/10");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:lotus_domino");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Gain a shell remotely");
      script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
      script_dependencies("domino_installed.nasl");
      script_require_keys("Domino/Version");
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("misc_func.inc");
    
    
    # There's a problem if the version is < 6.5.6 FP2.
    version = get_kb_item_or_exit("Domino/Version");
    if (egrep(pattern:"^6\.5\.([0-5]($|[^0-9])|6($| FP1$))", string:version))
    {
      set_kb_item(name:'www/0/XSS', value:TRUE);
    
      if (report_verbosity > 0)
      {
        report = 
          '\n  Installed version : ' + version +
          '\n  Fixed version     : 6.5.6 FP2\n';
        security_hole(port:0, extra:report);
      }
      else security_hole(0);
    }
    else exit(0, "The host is not affected since Domino "+version+" is installed.");
    
  • NASL familyGain a shell remotely
    NASL idDOMINO_IMAP_OVERFLOW.NASL
    descriptionThe IMAP server component of IBM Lotus Domino Server installed on the remote host fails to properly validate the mailbox name before copying it into a fixed-size stack buffer as part of handling certain unspecified commands. Using a specially crafted mailbox name to which he is subscribed, an authenticated attacker can leverage this issue to execute arbitrary code remotely. Note that successful exploitation typically results in SYSTEM-level access under Windows and non-root access on unix-like systems.
    last seen2020-06-01
    modified2020-06-02
    plugin id27535
    published2007-10-24
    reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27535
    titleIBM Lotus Domino IMAP Service Mailbox Name Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/60476/CVE-2007-3510.pl.txt
idPACKETSTORM:60476
last seen2016-12-05
published2007-10-29
reporterManuel Santamarina Suarez
sourcehttps://packetstormsecurity.com/files/60476/CVE-2007-3510.pl.txt.html
titleCVE-2007-3510.pl.txt

Saint

bid26176
descriptionLotus Domino IMAP mailbox name buffer overflow
idmail_imap_domino
osvdb40953
titlelotus_domino_imap_mbox_name
typeremote