Vulnerabilities > CVE-2020-8895 - Untrusted Search Path vulnerability in Google Earth

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
google
CWE-426
nessus

Summary

Untrusted Search Path vulnerability in the windows installer of Google Earth Pro versions prior to 7.3.3 allows an attacker to insert malicious local files to execute unauthenticated remote code on the targeted system.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leveraging/Manipulating Configuration File Search Paths
    This attack loads a malicious resource into a program's standard path used to bootstrap and/or provide contextual information for a program like a path variable or classpath. J2EE applications and other component based applications that are built from multiple binaries can have very long list of dependencies to execute. If one of these libraries and/or references is controllable by the attacker then application controls can be circumvented by the attacker. A standard UNIX path looks similar to this If the attacker modifies the path variable to point to a locale that includes malicious resources then the user unwittingly can execute commands on the attackers' behalf: This is a form of usurping control of the program and the attack can be done on the classpath, database resources, or any other resources built from compound parts. At runtime detection and blocking of this attack is nearly impossible, because the configuration allows execution.

Nessus

NASL familyWindows
NASL idGOOGLE_EARTH_CVE-2020-8895.NASL
descriptionThe version of Google Earth Pro installed on the remote host is prior to 7.3.3. It is, therefore, affected by the following vulnerabilities : - A DLL hijacking vulnerability exists in the Windows installer due to the use of an untrusted search path. An unauthenticated, local attacker can exploit this, via inserting a malicious file, to bypass authentication and execute arbitrary code. (CVE-2020-8895) - A buffer overflow condition exists in khcrypt implementation. An unauthenticated, adjacent attacker can exploit this, via a specially crafted key, to execute a MitM attack. (CVE-2020-8896) Note that Nessus has not tested for this issue but has instead relied only on the application
last seen2020-05-06
modified2020-05-01
plugin id136192
published2020-05-01
reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/136192
titleGoogle Earth Pro < 7.3.3 Multiple Vulnerabilities
code
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(136192);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/04");

  script_cve_id("CVE-2020-8895", "CVE-2020-8896");
  script_xref(name:"IAVA", value:"2020-A-0179");

  script_name(english:"Google Earth Pro < 7.3.3 Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"The Google Earth Pro installed on the remote host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Google Earth Pro installed on the remote host is prior to 7.3.3. It is, therefore, affected by
the following vulnerabilities :

  - A DLL hijacking vulnerability exists in the Windows installer due to the use of an untrusted search path.
    An unauthenticated, local attacker can exploit this, via inserting a malicious file, to bypass
    authentication and execute arbitrary code. (CVE-2020-8895)

  - A buffer overflow condition exists in khcrypt implementation. An unauthenticated, adjacent attacker can
    exploit this, via a specially crafted key, to execute a MitM attack. (CVE-2020-8896)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://support.google.com/earth/answer/40901");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Google Earth Pro version 7.3.3 or later.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-8895");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/04/21");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/04/21");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/05/01");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:google:earth");
  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) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("google_earth_detect_win.nbin");
  script_require_keys("installed_sw/Google Earth Pro");

  exit(0);
}

include('vcf.inc');

app_info = vcf::get_app_info(app:'Google Earth Pro');

constraints = [
  { 'fixed_version' : '7.3.3' }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);