Lucene search

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

Mobatek MobaXterm 11.1 (CVE-2019-13475)

2024-03-1500:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
5
mobatek mobaxterm
version 11.1
cve-2019-13475
uri handler
argument injection
vulnerability
remote attack
arbitrary commands

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.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

8.2 High

AI Score

Confidence

Low

0.002 Low

EPSS

Percentile

58.5%

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

  • In MobaXterm 11.1, the mobaxterm: URI handler has an argument injection vulnerability that allows remote attackers to execute arbitrary commands when the user visits a specially crafted URL. Based on the available command-line arguments of the software, one can simply inject -exec to execute arbitrary commands. The additional arguments -hideterm and -exitwhendone in the payload make the attack less visible. (CVE-2019-13475)

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(192157);
  script_version("1.0");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/03/15");

  script_cve_id("CVE-2019-13475");

  script_name(english:"Mobatek MobaXterm 11.1 (CVE-2019-13475)");

  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. It is, therefore, affected by a
vulnerability as referenced in the CVE-2019-13475 advisory.

  - In MobaXterm 11.1, the mobaxterm: URI handler has an argument injection vulnerability that allows remote
    attackers to execute arbitrary commands when the user visits a specially crafted URL. Based on the
    available command-line arguments of the software, one can simply inject -exec to execute arbitrary
    commands. The additional arguments -hideterm and -exitwhendone in the payload make the attack less
    visible. (CVE-2019-13475)

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-13475");
  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-13475");

  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/07/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/07/09");
  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' : '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.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

8.2 High

AI Score

Confidence

Low

0.002 Low

EPSS

Percentile

58.5%

Related for MOBATEK_MOBAXTERM_CVE-2019-13475.NASL