6.9 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:M/Au:N/C:C/I:C/A:C
6.7 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
0.0004 Low
EPSS
Percentile
12.7%
TeamViewer is prone to a DLL side loading vulnerability.
# Copyright (C) 2019 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:teamviewer:teamviewer";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.107736");
script_version("2021-10-12T08:19:03+0000");
script_cve_id("CVE-2019-18196");
script_tag(name:"cvss_base", value:"6.9");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
script_tag(name:"last_modification", value:"2021-10-12 08:19:03 +0000 (Tue, 12 Oct 2021)");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-11-18 16:15:00 +0000 (Mon, 18 Nov 2019)");
script_tag(name:"creation_date", value:"2019-10-26 14:04:11 +0200 (Sat, 26 Oct 2019)");
script_name("TeamViewer DLL Side Loading Vulnerability (Oct 2019) - Windows");
script_tag(name:"summary", value:"TeamViewer is prone to a DLL side loading vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"A DLL side loading vulnerability in the Windows Service in TeamViewer
on Windows could allow an attacker to perform code execution on a target system via a service restart
where the DLL was previously installed with administrative privileges.
Exploitation requires that an attacker be able to create a new file in the TeamViewer application
directory, directory permissions restrict that by default.");
script_tag(name:"affected", value:"TeamViewer versions through 11.0.133222, 12.0.181268, 13.2.36215
and 14.6.4835.");
script_tag(name:"solution", value:"Update to version 11.0.214397, 12.0.214399, 13.2.36216,
14.7.1965 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"registry");
script_xref(name:"URL", value:"https://community.teamviewer.com/t5/Announcements/Security-bulletin-CVE-2019-18196/td-p/74564");
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_category(ACT_GATHER_INFO);
script_family("General");
script_dependencies("gb_teamviewer_win_detect.nasl");
script_mandatory_keys("teamviewer/Ver");
exit(0);
}
include( "host_details.inc" );
include( "version_func.inc" );
if( ! infos = get_app_version_and_location(cpe:CPE, exit_no_version:TRUE ) )
exit( 0 );
version = infos["version"];
location = infos["location"];
if( version_is_less( version:version, test_version:"11.0.214397" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"11.0.214397", install_path:location );
security_message( data:report, port:0 );
exit( 0 );
}
else if( version =~ "^12\.0" && version_is_less( version:version, test_version:"12.0.214399" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"12.0.214399", install_path:location );
security_message( data:report, port:0 );
exit( 0 );
}
else if( version =~ "^13\.[0-2]" && version_is_less( version:version, test_version:"13.2.36216" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"13.2.36216", install_path:location );
security_message( data:report, port:0 );
exit( 0 );
}
else if( version =~ "^14\.[0-7]" && version_is_less( version:version, test_version:"14.7.1965" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"14.7.1965", install_path:location );
security_message( data:report, port:0 );
exit( 0 );
}
exit( 99 );
6.9 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:M/Au:N/C:C/I:C/A:C
6.7 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
0.0004 Low
EPSS
Percentile
12.7%