Vulnerabilities > CVE-2007-0322 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Intuit Quickbooks

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
intuit
CWE-119
critical
nessus

Summary

Multiple stack-based buffer overflows in the Intuit QuickBooks Online Edition ActiveX control before 10 allow remote attackers to execute arbitrary code via unspecified vectors.

Vulnerable Configurations

Part Description Count
Application
Intuit
1

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 idQUICKBOOKS_10_ACTIVEX_ISSUES.NASL
    descriptionThe remote host contains an Active control associated with QuickBooks Online Edition, a variant of Intuit QuickBooks implemented as an ActiveX control. The version of this control on the remote host reportedly is affected by multiple and as-yet unspecified stack-based buffer overflows that could allow for the execution of arbitrary code. It also fails to properly restrict access to methods, which could be abused to download or upload files arbitrary files. Successful exploition requires that an attacker trick a user on the affected host into visiting a specially crafted web page, and code execution and file access would be subject to the user
    last seen2020-06-01
    modified2020-06-02
    plugin id26061
    published2007-09-18
    reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/26061
    titleIntuit QuickBooks Online Edition < 10 ActiveX Multiple Vulnerabilities
    code
    #
    #  (C) Tenable Network Security, Inc.
    #
    
    
    
    include("compat.inc");
    
    if (description)
    {
      script_id(26061);
      script_version("1.17");
    
      script_cve_id("CVE-2007-0322", "CVE-2007-4471");
      script_bugtraq_id(25544);
      script_xref(name:"CERT", value:"907481");
      script_xref(name:"CERT", value:"979638");
    
      script_name(english:"Intuit QuickBooks Online Edition < 10 ActiveX Multiple Vulnerabilities");
      script_summary(english:"Checks for QuickBooks Online Edition control");
    
     script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host has an ActiveX control that is affected by
    various vulnerabilities." );
     script_set_attribute(attribute:"description", value:
    "The remote host contains an Active control associated with QuickBooks
    Online Edition, a variant of Intuit QuickBooks implemented as an
    ActiveX control.
    
    The version of this control on the remote host reportedly is affected
    by multiple and as-yet unspecified stack-based buffer overflows that
    could allow for the execution of arbitrary code.  It also fails to
    properly restrict access to methods, which could be abused to download
    or upload files arbitrary files.
    
    Successful exploition requires that an attacker trick a user on the
    affected host into visiting a specially crafted web page, and code
    execution and file access would be subject to the user's privileges." );
     script_set_attribute(attribute:"solution", value:
    "Disable the use of this ActiveX control from within Internet Explorer
    by setting its kill bit.  Note that upgrading to version 10 or later
    of the QuickBooks Online Edition does not necessarily remove earlier
    versions of the control." );
     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:"exploitability_ease", value:"No known exploits are available");
     script_set_attribute(attribute:"exploit_available", value:"false");
     script_cwe_id(22, 119, 264);
    
    
     script_set_attribute(attribute:"plugin_publication_date", value: "2007/09/18");
     script_set_attribute(attribute:"vuln_publication_date", value: "2007/09/04");
     script_cvs_date("Date: 2018/07/25 18:58:06");
    script_set_attribute(attribute:"plugin_type", value:"local");
    script_end_attributes();
    
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
    
      script_dependencies("smb_hotfixes.nasl");
      script_require_keys("SMB/Registry/Enumerated");
      script_require_ports(139, 445);
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("smb_func.inc");
    include("smb_activex_func.inc");
    
    
    if (!get_kb_item("SMB/Registry/Enumerated")) exit(0);
    
    
    # Locate files used by the control.
    if (activex_init() != ACX_OK) exit(0);
    
    info = "";
    clsids = make_list(
      # nb: each version of QuickBooks Online Edition uses a different CLSID.
      "{CF9DEB90-8DE3-11D5-BAE4-00105AAAFF94}",
      "{4F720B9C-24B1-4948-A035-8853DC01F19E}",
      "{2EFF8C97-F2A8-4395-9F47-9A06F998BF88}",
      "{2CC3D8DE-18BF-43ff-8CB8-21B442300FD5}",
      "{DBB177CC-6908-4b53-9BEE-F1C697818D65}",
      "{A80D199B-CFDD-4da4-8C47-2310D5B8DD97}",
      "{0D3983A9-4E29-4f33-8313-DA22B29D3F87}",
      "{D92D7607-05D9-4dd8-B68B-D458948FB883}",
      "{8CE3BAE6-AB66-40b6-9019-41E5282FF1E2}",
      "{40F8967E-34A6-474a-837A-CEC1E7DAC54C}"
    );
    foreach clsid (clsids)
    {
      file = activex_get_filename(clsid:clsid);
      if (file)
      {
        if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
        {
          info += '  ' + clsid + '\n' + 
                  '    ' + file + '\n';
          if (!thorough_tests) break;
        }
      }
    }
    activex_end();
    
    
    if (info)
    {
      report = string(
        "Nessus found the control installed as :\n",
        "\n",
        info
      );
    
      if (!thorough_tests)
      {
        report = string(
          report,
          "\n",
          "Note that Nessus did not check whether there were other instances\n",
          "installed because the 'Perform thorough tests' setting was not enabled\n",
          "when this scan was run.\n"
        );
      }
    
      if (report_paranoia > 1)
        report = string(
          report,
          "\n",
          "Note that Nessus did not check whether the kill bit was set for\n",
          "the control(s) because of the Report Paranoia setting in effect\n",
          "when this scan was run.\n"
        );
      else 
        report = string(
          report,
          "\n",
          "Moreover, the kill bit was  not set for the control(s) so they\n",
          "are accessible via Internet Explorer.\n"
        );
      security_hole(port:kb_smb_transport(), extra:report);
    }
    
  • NASL familyWindows : Microsoft Bulletins
    NASL idSMB_NT_MS07-069.NASL
    descriptionThe remote host is missing the IE cumulative security update 942615. The remote version of IE is vulnerable to several flaws that could allow an attacker to execute arbitrary code on the remote host.
    last seen2020-06-01
    modified2020-06-02
    plugin id29313
    published2007-12-11
    reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/29313
    titleMS07-069: Cumulative Security Update for Internet Explorer (942615)
    code
    #
    # Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
     script_id(29313);
     script_version("1.36");
     script_cvs_date("Date: 2018/11/15 20:50:30");
    
     script_cve_id(
      "CVE-2007-0322",
      "CVE-2007-3902",
      "CVE-2007-3903",
      "CVE-2007-4471",
      "CVE-2007-5344",
      "CVE-2007-5347",
      "CVE-2007-6387"
     );
     script_bugtraq_id(25544, 26427, 26506, 26815, 26816, 26817, 26819);
     script_xref(name:"MSFT", value:"MS07-069");
     script_xref(name:"MSKB", value:"942615");
     
     script_xref(name:"CERT", value:"907481");
     script_xref(name:"CERT", value:"979638");
     script_xref(name:"EDB-ID", value:"4825");
    
     script_name(english:"MS07-069: Cumulative Security Update for Internet Explorer (942615)");
     script_summary(english:"Determines the presence of update 942615");
    
     script_set_attribute(attribute:"synopsis", value:
    "Arbitrary code can be executed on the remote host through the web
    client.");
     script_set_attribute(attribute:"description", value:
    "The remote host is missing the IE cumulative security update 942615.
    
    The remote version of IE is vulnerable to several flaws that could allow
    an attacker to execute arbitrary code on the remote host.");
     script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2007/ms07-069");
     script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-07-073/");
     script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-07-074/");
     script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-07-075/");
     script_set_attribute(attribute:"solution", value:
    "Microsoft has released a set of patches for Windows 2000, XP, 2003 and
    Vista.");
     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:POC/RL:OF/RC:C");
     script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
     script_set_attribute(attribute:"exploit_available", value:"true");
     script_cwe_id(22, 94, 119, 189, 264, 399);
    
     script_set_attribute(attribute:"vuln_publication_date", value:"2007/09/04");
     script_set_attribute(attribute:"patch_publication_date", value:"2007/12/11");
     script_set_attribute(attribute:"plugin_publication_date", value:"2007/12/11");
    
     script_set_attribute(attribute:"plugin_type", value:"local");
     script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
     script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:ie");
     script_end_attributes();
    
     script_category(ACT_GATHER_INFO);
    
     script_copyright(english:"This script is Copyright (C) 2007-2018 Tenable Network Security, Inc.");
     script_family(english:"Windows : Microsoft Bulletins");
    
     script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
     script_require_keys("SMB/MS_Bulletin_Checks/Possible");
     script_require_ports(139, 445, 'Host/patch_management_checks');
     exit(0);
    }
    
    
    include("audit.inc");
    include("smb_hotfixes_fcheck.inc");
    include("smb_hotfixes.inc");
    include("smb_func.inc");
    include("misc_func.inc");
    
    get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");
    
    bulletin = 'MS07-069';
    kb = '942615';
    
    kbs = make_list(kb);
    if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    get_kb_item_or_exit("SMB/WindowsVersion", exit_code:1);
    
    if (hotfix_check_sp_range(win2k:'4,5', xp:'2', win2003:'1,2', vista:'0') <= 0) audit(AUDIT_OS_SP_NOT_VULN);
    
    rootfile = hotfix_get_systemroot();
    if (!rootfile) exit(1, "Failed to get the system root.");
    
    share = hotfix_path2share(path:rootfile);
    if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);
    
    if (
      hotfix_is_vulnerable(os:"6.0", sp:0, file:"Mshtml.dll", version:"7.0.6000.20710", min_version:"7.0.6000.20000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"6.0", sp:0, file:"Mshtml.dll", version:"7.0.6000.16587", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      hotfix_is_vulnerable(os:"5.2", sp:1, file:"Mshtml.dll", version:"6.0.3790.3041", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"6.0.3790.4186", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.2", file:"Mshtml.dll", version:"7.0.6000.20710", min_version:"7.0.6000.20000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.2", file:"Mshtml.dll", version:"7.0.6000.16587", min_version:"7.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      hotfix_is_vulnerable(os:"5.1", sp:2, file:"Mshtml.dll", version:"6.0.2900.3243", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.1", sp:2, file:"Mshtml.dll", version:"7.0.6000.20710", min_version:"7.0.6000.20000", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.1", sp:2, file:"Mshtml.dll", version:"7.0.6000.16587", min_version:"7.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) ||
    
      hotfix_is_vulnerable(os:"5.0", file:"Mshtml.dll", version:"6.0.2800.1605", min_version:"6.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) ||
      hotfix_is_vulnerable(os:"5.0", file:"Mshtml.dll", version:"5.0.3858.1100", dir:"\system32", bulletin:bulletin, kb:kb)
    )
    {
      set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
      hotfix_security_hole();
      hotfix_check_fversion_end();
      exit(0);
    }
    else
    {
      hotfix_check_fversion_end();
      audit(AUDIT_HOST_NOT, 'affected');
    }
    

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 25544 CVE(CAN) ID: CVE-2007-4471,CVE-2007-0322 QuickBooks Online Edition是一款在线财务软件。 QuickBooks Online Edition的ActiveX控件处理在处理畸形用户请求时存在漏洞,远程攻击者可能利用此漏洞控制用户系统。 如果用户受骗打开了恶意HTML文档的话,QuickBooks Online Edition ActiveX控件的httpGETToFile()和httpPOSTFromFile()方式可能会向用户系统中任意位置下载或上传文件;其他一些方式中可能还会触发栈溢出,导致执行任意指令。 Intuit QuickBooks Online Edition 9 临时解决方法: 在IE中为以下CLSID设置kill bit: {CF9DEB90-8DE3-11D5-BAE4-00105AAAFF94} {4F720B9C-24B1-4948-A035-8853DC01F19E} {2EFF8C97-F2A8-4395-9F47-9A06F998BF88} {2CC3D8DE-18BF-43ff-8CB8-21B442300FD5} {DBB177CC-6908-4b53-9BEE-F1C697818D65} {A80D199B-CFDD-4da4-8C47-2310D5B8DD97} {0D3983A9-4E29-4f33-8313-DA22B29D3F87} {D92D7607-05D9-4dd8-B68B-D458948FB883} {8CE3BAE6-AB66-40b6-9019-41E5282FF1E2} {40F8967E-34A6-474a-837A-CEC1E7DAC54C} 或将以下文本保存为.REG文件并导入: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{CF9DEB90-8DE3-11D5-BAE4-00105AAAFF94}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{4F720B9C-24B1-4948-A035-8853DC01F19E}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{2EFF8C97-F2A8-4395-9F47-9A06F998BF88}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{2CC3D8DE-18BF-43ff-8CB8-21B442300FD5}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{DBB177CC-6908-4b53-9BEE-F1C697818D65}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{A80D199B-CFDD-4da4-8C47-2310D5B8DD97}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{0D3983A9-4E29-4f33-8313-DA22B29D3F87}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D92D7607-05D9-4dd8-B68B-D458948FB883}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{8CE3BAE6-AB66-40b6-9019-41E5282FF1E2}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{40F8967E-34A6-474a-837A-CEC1E7DAC54C}] &quot;Compatibility Flags&quot;=dword:00000400 厂商补丁: Intuit ------ 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本: <a href="http://oe.quickbooks.com/index.cfm" target="_blank">http://oe.quickbooks.com/index.cfm</a>
idSSV:2199
last seen2017-11-19
modified2007-09-08
published2007-09-08
reporterRoot
titleIntuit QuickBooks Online Edition ActiveX控件多个远程安全漏洞