Vulnerabilities > CVE-2007-6020 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in multiple products

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE

Summary

Multiple stack-based buffer overflows in foliosr.dll in the Folio Flat File speed reader in Autonomy (formerly Verity) KeyView 10.3.0.0, as used by IBM Lotus Notes, Symantec Mail Security, and activePDF DocConverter, allow remote attackers to execute arbitrary code via a long attribute value in a (1) DI, (2) FD, (3) FT, (4) JD, (5) JL, (6) LE, (7) OB, (8) OD, (9) OL, (10) PN, (11) PS, (12) PW, (13) RD, (14) QL, or (15) TS tag in a .fff file.

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 familyWindows
    NASL idSYMANTEC_SMS_SMTP_SYM_08-010.NASL
    descriptionThe remote windows host has a version of Symantec Mail Security installed that is shipped with the third-party Autonomy KeyView module, which is affected by multiple buffer overflow vulnerabilities that could allow a remote attacker to execute arbitrary code.
    last seen2020-06-01
    modified2020-06-02
    plugin id68936
    published2013-07-17
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68936
    titleSymantec Mail Security for SMTP Autonomy KeyView Module Multiple Buffer Overflows
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(68936);
      script_version("1.10");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id(
        "CVE-2007-5399",
        "CVE-2007-5405",
        "CVE-2007-5406",
        "CVE-2007-6020",
        "CVE-2008-0066",
        "CVE-2008-1101"
      );
      script_bugtraq_id(28454);
      script_xref(name:"IAVB", value:"2008-B-0039");
    
      script_name(english:"Symantec Mail Security for SMTP Autonomy KeyView Module Multiple Buffer Overflows");
      script_summary(english:"Checks the version of Symantec Mail Security for SMTP");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has software installed that is affected by multiple
    buffer overflow vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote windows host has a version of Symantec Mail Security
    installed that is shipped with the third-party Autonomy KeyView module,
    which is affected by multiple buffer overflow vulnerabilities that could
    allow a remote attacker to execute arbitrary code.");
      script_set_attribute(attribute:"see_also", value:"http://www.symantec.com/avcenter/security/Content/2008.04.08e.html");
      script_set_attribute(attribute:"solution", value:
    "Apply the appropriate patch per the vendor's advisory.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2008-1101");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/04/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/04/08");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/17");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:mail_security");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("sms_smtp_installed.nasl", "smb_enum_services.nasl");
      script_require_keys("SMB/Registry/Enumerated", "Symantec/SMSSMTP/Version");
      script_require_ports(139, 445);
    
      exit(0);
    }
    
    include("audit.inc");
    include("smb_func.inc");
    include("smb_hotfixes.inc");
    include("smb_hotfixes_fcheck.inc");
    include("misc_func.inc");
    
    app = "Symantec Mail Security for SMTP";
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    
    port = kb_smb_transport();
    
    # Make sure the SMS for SMTP service is running, unless we're
    # being paranoid.
    if (report_paranoia < 2)
    {
      services = get_kb_item("SMB/svcs");
      if (
        !services ||
        ("SMSTomcat" >!< services && "Symantec Mail Security for SMTP" >!< services)
      )
      exit(0, 'Symantec Mail Security for SMTP is not running.');
    }
    
    version = get_kb_item_or_exit("Symantec/SMSSMTP/Version");
    path = get_kb_item_or_exit('SMB/Symantec/SMSSMTP/' + version);
    
    if (version != "5.0.0" && version != "5.0.1")
      audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);
    
    dll = '';
    
    if (path[strlen(path) - 1] == '\\')
      dll = path + "scanner\bin\libdayzero.dll";
    else
      dll = path + "\scanner\bin\libdayzero.dll";
    
    ver = hotfix_get_fversion(path:dll);
    hotfix_check_fversion_end();
    
    if (ver['error'] == HCF_NOENT)
      audit(AUDIT_UNINST, app);
    else if (ver['error'] != HCF_OK)
      audit(AUDIT_VER_FAIL, path);
    
    dll_ver = join(ver['value'], sep:'.');
    
    if (ver_compare(ver:dll_ver, fix:"5.0.1.189", strict:FALSE) == -1)
    {
      if (report_verbosity > 0)
      {
        report = '\n  Path              : ' + path +
                 '\n  Installed version : ' + dll_ver +
                 '\n  Fixed version     : 5.0.1.189' +
                 '\n';
        security_hole(extra:report, port:port);
      }
      else security_hole(port);
      exit(0);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, app, dll_ver, path);
    
  • NASL familyWindows
    NASL idSYMANTEC_SMS_SYM_08-010.NASL
    descriptionThe remote windows host has a version of Symantec Mail Security installed that is shipped with the third-party Autonomy KeyView module, which is affected by multiple buffer overflow vulnerabilities. These issues could allow a remote attacker to execute arbitrary code.
    last seen2020-06-01
    modified2020-06-02
    plugin id68935
    published2013-07-17
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68935
    titleSymantec Mail Security for Exchange / Domino Autonomy KeyView Module Multiple Buffer Overflows
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(68935);
      script_version("1.9");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id(
        "CVE-2007-5399",
        "CVE-2007-5405",
        "CVE-2007-5406",
        "CVE-2007-6020",
        "CVE-2008-0066",
        "CVE-2008-1101"
      );
      script_bugtraq_id(28454);
      script_xref(name:"IAVB", value:"2008-B-0039");
    
      script_name(english:"Symantec Mail Security for Exchange / Domino Autonomy KeyView Module Multiple Buffer Overflows");
      script_summary(english:"Checks the version of Symantec Mail Security for Exchange / Domino");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has software installed that is affected by multiple
    buffer overflow vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The remote windows host has a version of Symantec Mail Security
    installed that is shipped with the third-party Autonomy KeyView module,
    which is affected by multiple buffer overflow vulnerabilities.  These
    issues could allow a remote attacker to execute arbitrary code.");
      script_set_attribute(attribute:"see_also", value:"http://www.symantec.com/avcenter/security/Content/2008.04.08e.html");
      script_set_attribute(attribute:"solution", value:
    "Apply the appropriate patch per the vendor's advisory.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2008-1101");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/04/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/04/08");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/17");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:mail_security");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("sms_for_domino.nasl", "sms_for_msexchange.nasl");
      script_require_keys("Symantec_Mail_Security/Installed");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    
    get_kb_item_or_exit("Symantec_Mail_Security/Installed");
    
    dirs = make_list("Domino", "Exchange");
    
    port = get_kb_item('SMB/transport');
    if (isnull(port)) port = 445;
    
    # Ensure that the affected software is installed.
    backend = NULL;
    foreach type (dirs)
    {
      if (get_kb_item("SMB/SMS_" + type + "/Installed"))
      {
        backend = type;
        break;
      }
    }
    if (isnull(backend) || (backend != 'Exchange' && backend != 'Domino'))
      exit(0, "Symantec Mail Security for Domino or Exchange was not detected on the remote host.");
    
    path = get_kb_item_or_exit("SMB/SMS_" + type + "/Path");
    version = get_kb_item_or_exit("SMB/SMS_" + type + "/Version");
    
    if (
      (
        backend == 'Exchange'  &&
        version =~ '^5\\.0\\.' &&
        ver_compare(ver:version, fix:'5.0.10.382', strict:FALSE) == -1
      )
      ||
      (
        backend == 'Domino'    &&
        version =~ '^7\\.5\\.' &&
        ver_compare(ver:version, fix:'7.5.3.25', strict:FALSE) == -1
      )
    )
    {
      # Report our findings.
      if (report_verbosity > 0)
      {
        if (backend == 'Exchange') fix = '5.0.10.382';
        else fix = '7.5.3.25';
        report =
          '\n  Product           : Symantec Mail Security for ' + backend +
          '\n  Path              : ' + path +
          '\n  Installed version : ' + version +
          '\n  Fixed version     : ' + fix +
          '\n';
        security_hole(port:port, extra:report);
      }
      else security_hole(port);
      exit(0);
    }
    else
      audit(AUDIT_INST_PATH_NOT_VULN, 'Symantec Mail Security for ' + backend,
            version, path);
    

Saint

bid28454
descriptionLotus Notes Applix Graphics viewer BEGIN tag buffer overflow
idmail_client_notesapplix
osvdb44194
titlelotus_notes_ag_viewer_begin
typeclient