Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities - Nessus

Critical   Plugin ID: 80203

This page contains detailed information about the Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 80203
Name: Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities
Filename: lexmark_markvision_enterprise_2_1.nasl
Vulnerability Published: 2014-12-09
This Plugin Published: 2014-12-22
Last Modification Time: 2018-11-15
Plugin Version: 1.7
Plugin Type: remote
Plugin Family: Misc.
Dependencies: lexmark_markvision_enterprise_detect.nasl
Required KB Items [?]: www/lexmark_markvision_enterprise

Vulnerability Information


Severity: Critical
Vulnerability Published: 2014-12-09
Patch Published: 2014-12-09
CVE [?]: CVE-2014-8741, CVE-2014-8742
CPE [?]: cpe:/a:lexmark:markvision

Synopsis

The remote web application is affected by multiple vulnerabilities.

Description

The version of Lexmark MarkVision Enterprise installed on the remote host is prior to 2.1.0. It is, therefore, affected by the following vulnerabilities :

- A remote code execution vulnerability due to improper handling of user input to the 'GfdFileUploadServerlet' servlet. (CVE-2014-8741)

- An information disclosure vulnerability due to improper handling of user input to the 'ReportDownloadServlet' servlet. (CVE-2014-8742)

Solution

Upgrade to Lexmark MarkVision Enterprise 2.1.0 or later.

Public Exploits


Target Network Port(s): 9788
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB, D2 Elliot)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/http/lexmark_markvision_gfd_upload
    [Lexmark MarkVision Enterprise Arbitrary File Upload]
  2. Exploit-DB: exploits/java/remote/35776.rb
    [EDB-35776: Lexmark MarkVision Enterprise - Arbitrary File Upload (Metasploit)]
  3. D2 Elliot: lexmark_markvision_enterprise_2.0_file_upload.html
    [Lexmark MarkVision Enterprise 2.0 File Upload]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the lexmark_markvision_enterprise_2_1.nasl nessus plugin source code. This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(80203);
  script_version("1.7");
  script_cvs_date("Date: 2018/11/15 20:50:23");

  script_cve_id("CVE-2014-8741", "CVE-2014-8742");
  script_bugtraq_id(71623, 71625);

  script_name(english:"Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities");
  script_summary(english:"Checks the version of Lexmark MarkVision Enterprise.");

  script_set_attribute(attribute:"synopsis", value:
"The remote web application is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Lexmark MarkVision Enterprise installed on the remote
host is prior to 2.1.0. It is, therefore, affected by the following
vulnerabilities :

  - A remote code execution vulnerability due to improper
    handling of user input to the 'GfdFileUploadServerlet'
    servlet. (CVE-2014-8741)

  - An information disclosure vulnerability due to improper
    handling of user input to the 'ReportDownloadServlet'
    servlet. (CVE-2014-8742)");
  script_set_attribute(attribute:"see_also", value:"http://support.lexmark.com/index?page=content&id=TE667&locale=en&userlocale=EN_US");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-14-411/");
  script_set_attribute(attribute:"see_also",value:"https://www.zerodayinitiative.com/advisories/ZDI-14-410/");
  script_set_attribute(attribute:"see_also",value:"http://support.lexmark.com/index?page=content&id=TE666&locale=en&userlocale=EN_US");
  script_set_attribute(attribute:"solution", value:"Upgrade to Lexmark MarkVision Enterprise 2.1.0 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"d2_elliot_name", value:"Lexmark MarkVision Enterprise 2.0 File Upload");
  script_set_attribute(attribute:"exploit_framework_d2_elliot", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Lexmark MarkVision Enterprise Arbitrary File Upload');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/12/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/12/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/12/22");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:lexmark:markvision");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("lexmark_markvision_enterprise_detect.nasl");
  script_require_keys("www/lexmark_markvision_enterprise");
  script_require_ports("Services/www", 9788);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");

port = get_http_port(default:9788);

appname = "Lexmark Markvision Enterprise";

install = get_install_from_kb(appname:'lexmark_markvision_enterprise', port:port, exit_on_fail:TRUE);
version = install['ver'];
fixed_ver = "2.1.0";

url = build_url(port:port, qs:install['dir']);

if (version == UNKNOWN_VER) audit(AUDIT_UNKNOWN_WEB_APP_VER, appname, url);

if (ver_compare(ver:version, fix:fixed_ver, strict:FALSE) >= 0)
  audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url, version);

if (report_verbosity > 0)
{
  report = '\n  Installed version : ' + version +
           '\n  Fixed version     : ' + fixed_ver +
           '\n';
  security_hole(port:port, extra:report);
}
else security_hole(port);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/lexmark_markvision_enterprise_2_1.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\lexmark_markvision_enterprise_2_1.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/lexmark_markvision_enterprise_2_1.nasl

Go back to menu.

How to Run


Here is how to run the Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Misc. plugin family.
  6. On the right side table select Lexmark MarkVision Enterprise < 2.1 Multiple Vulnerabilities plugin ID 80203.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl lexmark_markvision_enterprise_2_1.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a lexmark_markvision_enterprise_2_1.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - lexmark_markvision_enterprise_2_1.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state lexmark_markvision_enterprise_2_1.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 80554 - Lexmark MarkVision Enterprise GfdFileUploadServerlet RCE Vulnerability
  • 88807 - Lexmark Markvision Enterprise Java Object Deserialization RCE
  • 86426 - Lexmark Printer config.html Administrator Authentication Bypass (FREAK)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file lexmark_markvision_enterprise_2_1.nasl version 1.7. For more plugins, visit the Nessus Plugin Library.

Go back to menu.