Vulnerabilities > CVE-2013-1361 - DLL Loading Arbitrary Code Execution vulnerability in Lenovo Thinkpad Bluetooth With Enhanced Data Rate Software 6.4.0.2900

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

Summary

Untrusted search path vulnerability in Lenovo Thinkpad Bluetooth with Enhanced Data Rate Software 6.4.0.2900 and earlier allows local users, and possibly remote attackers, to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse DLL that is located in the same folder as a file that is processed by Lenovo Bluetooth. Per: http://cwe.mitre.org/data/definitions/426.html "CWE-426: Untrusted Search Path"

Vulnerable Configurations

Part Description Count
Application
Lenovo
1

Nessus

NASL familyWindows
NASL idLENOVO_BLUETOOTH_EDR_6_5_1_2700.NASL
descriptionThe remote host has a version of Lenovo ThinkPad Bluetooth with Enhanced Data Rate installed that uses fixed paths for including DLL files that may not be trusted. By tricking a user into opening a file in a directory accessible by an attacker, it may be possible to inject and execute code from arbitrary .dll files.
last seen2020-06-01
modified2020-06-02
plugin id65986
published2013-04-11
reporterThis script is Copyright (C) 2013-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/65986
titleLenovo ThinkPad Bluetooth with Enhanced Data Rate Arbitrary DLL Injection Code Execution Vulnerability
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(65986);
  script_version("1.5");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2013-1361");
  script_bugtraq_id(57504);

  script_name(english:"Lenovo ThinkPad Bluetooth with Enhanced Data Rate Arbitrary DLL Injection Code Execution Vulnerability");
  script_summary(english:"Checks version of Lenovo ThinkPad Bluetooth with Enhanced Data Rate");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote host is affected by an arbitrary DLL injection vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote host has a version of Lenovo ThinkPad Bluetooth with
Enhanced Data Rate installed that uses fixed paths for including
DLL files that may not be trusted.  By tricking a user into opening a
file in a directory accessible by an attacker, it may be possible to
inject and execute code from arbitrary .dll files."
  );
  script_set_attribute(attribute:"see_also",value:"https://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/g4wb10ww.txt");
  script_set_attribute(attribute:"see_also",value:"https://docs.microsoft.com/en-us/security-updates/VulnerabilityResearchAdvisories/2013/msvr13-001");
  script_set_attribute(
    attribute:"solution",
    value:
"Upgrade to Lenovo ThinkPad Bluetooth with Enhanced Data Rate version 6.5.1.2700
or higher."
  );
  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_set_attribute(attribute:"vuln_publication_date",value:"2013/01/15");
  script_set_attribute(attribute:"patch_publication_date",value:"2012/05/09");
  script_set_attribute(attribute:"plugin_publication_date",value:"2013/04/11");
  script_set_attribute(attribute:"plugin_type",value:"local");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:lenovo:thinkpad_bluetooth_with_enhanced_data_rate_software");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.");

  script_dependencies("lenovo_bluetooth_edr_installed.nasl");
  script_require_keys("SMB/Lenovo_BT_EDR/Version");

  exit(0);
}

include('audit.inc');
include('global_settings.inc');
include("misc_func.inc");
include('smb_func.inc');

app = 'Lenovo ThinkPad Bluetooth with Enhanced Data Rate Software';
kb_base = "SMB/Lenovo_BT_EDR/";
port = kb_smb_transport();

version = get_kb_item_or_exit(kb_base + "Version");
path = get_kb_item_or_exit(kb_base + "Path");

fix = "6.5.1.2700";
if (ver_compare(ver:version, fix:fix, strict:FALSE) == -1)
{
  if (report_verbosity > 0)
  {
    report =
      '\n  Path              : ' + path +
      '\n  Installed version : ' + version +
      '\n  Fixed version     : ' + fix + '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);