Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.MOBATEK_MOBAXTERM_CVE-2019-16305.NASL
HistoryMar 15, 2024 - 12:00 a.m.

Mobatek MobaXterm 11.1 / 12.1 (CVE-2019-16305)

2024-03-1500:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
2
mobatek mobaxterm
vulnerability
command injection
crafted links
cve-2019-16305
protocol handler

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.8 High

AI Score

Confidence

Low

0.002 Low

EPSS

Percentile

57.8%

The version of Mobatek MobaXterm installed on the remote host is 11.1 and 12.1. It is, therefore, affected by a vulnerability as referenced in the CVE-2019-16305 advisory.

  • In MobaXterm 11.1 and 12.1, the protocol handler is vulnerable to command injection. A crafted link can trigger a popup asking whether the user wants to run MobaXterm to handle the link. If accepted, another popup appears asking for further confirmation. If this is also accepted, command execution is achieved, as demonstrated by the MobaXterm://calc URI. (CVE-2019-16305)

Note that Nessus has not tested for this issue but has instead relied only on the application’s self-reported version number.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(192155);
  script_version("1.0");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/03/15");

  script_cve_id("CVE-2019-16305");

  script_name(english:"Mobatek MobaXterm 11.1 / 12.1 (CVE-2019-16305)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a security update.");
  script_set_attribute(attribute:"description", value:
"The version of Mobatek MobaXterm installed on the remote host is 11.1 and 12.1. It is, therefore, affected by a
vulnerability as referenced in the CVE-2019-16305 advisory.

  - In MobaXterm 11.1 and 12.1, the protocol handler is vulnerable to command injection. A crafted link can
    trigger a popup asking whether the user wants to run MobaXterm to handle the link. If accepted, another
    popup appears asking for further confirmation. If this is also accepted, command execution is achieved, as
    demonstrated by the MobaXterm://`calc` URI. (CVE-2019-16305)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://www.cvedetails.com/vulnerability-list/vendor_id-15701/product_id-32575/Mobatek-Mobaxterm.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f7905d11");
  script_set_attribute(attribute:"see_also", value:"https://www.cvedetails.com/cve/CVE-2019-16305");
  script_set_attribute(attribute:"solution", value:
"Upgrade Mobatek MobaXterm based upon the guidance specified in the linked advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-16305");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/09/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/03/15");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:mobatek:mobaxterm");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("mobatek_mobaxterm_win_installed.nbin");
  script_require_keys("installed_sw/Mobatek MobaXterm");

  exit(0);
}

include('vcf.inc');
get_kb_item_or_exit('SMB/Registry/Enumerated');

var app_info = vcf::get_app_info(app:'Mobatek MobaXterm', win_local:TRUE);

var constraints = [
  { 'equal' : '12.1', 'fixed_display' : 'See vendor advisory' },
  { 'equal' : '11.1', 'fixed_display' : 'See vendor advisory' }
];

vcf::check_version_and_report(
    app_info:app_info,
    constraints:constraints,
    severity:SECURITY_WARNING
);
VendorProductVersionCPE
mobatekmobaxtermcpe:/a:mobatek:mobaxterm

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.8 High

AI Score

Confidence

Low

0.002 Low

EPSS

Percentile

57.8%

Related for MOBATEK_MOBAXTERM_CVE-2019-16305.NASL