Vulnerabilities > CVE-2016-2244 - Information Exposure vulnerability in HP Futuresmart Firmware 3.7

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
hp
CWE-200
nessus

Summary

HP LaserJet printers and MFPs and OfficeJet Enterprise printers with firmware before 3.7.01 allow remote attackers to obtain sensitive information via unspecified vectors.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Nessus

  • NASL familyMisc.
    NASL idHP_OFFICEJET_HPSBPI03546.NASL
    descriptionAccording to its model number and firmware revision, the remote HP OfficeJet printer is affected by an unspecified information disclosure vulnerability. An unauthenticated, remote attacker can exploit this vulnerability to obtain sensitive information via unspecified vectors.
    last seen2020-06-01
    modified2020-06-02
    plugin id89939
    published2016-03-15
    reporterThis script is Copyright (C) 2016-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/89939
    titleHP OfficeJet Printers Unspecified Information Disclosure (HPSBPI03546)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(89939);
      script_version("1.8");
      script_cvs_date("Date: 2018/11/15 20:50:23");
    
      script_cve_id("CVE-2016-2244");
      script_xref(name:"HP", value:"emr_na-c05030353");
      script_xref(name:"HP", value:"HPSBPI03546");
    
      script_name(english:"HP OfficeJet Printers Unspecified Information Disclosure (HPSBPI03546)");
      script_summary(english:"Checks the model number and firmware revision.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote printer is affected by an information disclosure
    vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to its model number and firmware revision, the remote HP
    OfficeJet printer is affected by an unspecified information disclosure
    vulnerability. An unauthenticated, remote attacker can exploit this
    vulnerability to obtain sensitive information via unspecified vectors.");
      # http://web.archive.org/web/20161013071911/http://h20565.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c05030353
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d4190943");
      script_set_attribute(attribute:"solution", value:
    "Upgrade the HP OfficeJet firmware in accordance with the vendor
    advisory.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/03/02");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/03/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/15");
    
      script_set_attribute(attribute:"cpe", value:"cpe:/h:hp:officejet");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Misc.");
    
      script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");
    
      script_dependencies("hp_officejet_web_detect.nbin");
      script_require_keys("hp/officejet/detected");
      script_require_ports("Services/www", 80, 443);
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("http.inc");
    
    port = get_http_port(default:80, dont_break:TRUE);
                                                                           # Examples :
    product   = get_kb_item_or_exit('hp/officejet/' + port + '/product');  # HP Officejet X555
    model     = get_kb_item_or_exit('hp/officejet/' + port + '/model');    # C2S11A
    firmware  = get_kb_item_or_exit('hp/officejet/' + port + '/firmware'); # 2302908_435004
    
    full_product = "HP OfficeJet " + product + " Model " + model;
    
    parts = split(firmware, sep:"_", keep:FALSE);
    firmware_major = parts[0]; 
    
    serial = get_kb_item('hp/officejet/serial');
    if (empty_or_null(serial)) serial = "unknown";
    
    affected_models =
      make_list(
        "B5L04A", "B5L05A", "B5L07A", # X585
        "C2S11A", "C2S12A"           # X555
      );
    
    vuln = FALSE;
    # Check model
    foreach affected_model (affected_models)
    {
      if (affected_model == model)
      {
        vuln = TRUE;
        break;
      }
    }
    
    if (!vuln) audit(AUDIT_DEVICE_NOT_VULN, full_product);
    
    # Check firmware revision
    #  Only look at the first part of the firmware revision (e.g. 2307497 of 2307497_543950).
    #  The last part of the firmware revision changes for each model
    affected_firmware = make_array(
      "3.6.3", "2307497",
      "3.6.4", "2307619",
      "3.7",   "2307781",
      "3.7.1", "2307884",
      "3.7.2", "2307939"
    );
    
    installed_version = NULL;
    
    foreach affected_version (keys(affected_firmware))
    {
      if (affected_firmware[affected_version] == firmware_major)
      {
        installed_version = affected_version;
        break;
      }
    }
    
    if (isnull(installed_version)) audit(AUDIT_DEVICE_NOT_VULN, full_product, firmware);
    
    report =
      '\n  Product           : ' + product +
      '\n  Model             : ' + model +
      '\n  Serial number     : ' + serial +
      '\n  Installed version : ' + installed_version + ' (' + firmware + ')' +
      '\n  Fixed version     : 3.7.01 (2307851)' +
      '\n';
    
    security_report_v4(extra:report, port:port, severity:SECURITY_WARNING);
    
  • NASL familyMisc.
    NASL idHP_LASERJET_HPSBPI03546.NASL
    descriptionAccording to its model number and firmware revision, the remote HP LaserJet printer is affected by an unspecified information disclosure vulnerability. An unauthenticated, remote attacker can exploit this vulnerability to obtain sensitive information via unspecified vectors.
    last seen2020-06-01
    modified2020-06-02
    plugin id89938
    published2016-03-15
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/89938
    titleHP LaserJet Printers Unspecified Information Disclosure (HPSBPI03546)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(89938);
      script_version("1.8");
      script_cvs_date("Date: 2019/11/20");
    
      script_cve_id("CVE-2016-2244");
      script_xref(name:"HP", value:"emr_na-c05030353");
      script_xref(name:"HP", value:"HPSBPI03546");
    
      script_name(english:"HP LaserJet Printers Unspecified Information Disclosure (HPSBPI03546)");
      script_summary(english:"Checks the model number and firmware revision.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote printer is affected by an information disclosure
    vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to its model number and firmware revision, the remote HP
    LaserJet printer is affected by an unspecified information disclosure
    vulnerability. An unauthenticated, remote attacker can exploit this
    vulnerability to obtain sensitive information via unspecified vectors.");
      # http://web.archive.org/web/20161013071911/http://h20565.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c05030353
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d4190943");
      script_set_attribute(attribute:"solution", value:
    "Upgrade the HP LaserJet firmware in accordance with the vendor
    advisory.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-2244");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/03/02");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/03/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/15");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/h:hp:laserjet");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Misc.");
    
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("hp_laserjet_detect.nasl");
      script_require_keys("www/hp_laserjet");
      script_require_ports("Services/www", 80, 443);
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("http.inc");
    
    port = get_http_port(default:80, dont_break:TRUE, embedded:TRUE);
                                                                             # Examples:
    product   = get_kb_item_or_exit('www/hp_laserjet/'+port+'/pname');       # HP LaserJet M750
    model     = get_kb_item_or_exit('www/hp_laserjet/'+port+'/modelnumber'); # D3L09A
    firmware  = get_kb_item_or_exit('www/hp_laserjet/'+port+'/fw_rev');      # 2304061_439474
    url       = get_kb_item_or_exit('www/hp_laserjet/'+port+'/url');
    
    full_product = "HP LaserJet " + product + " Model " + model;
    
    parts = split(firmware, sep:"_", keep:FALSE);
    firmware_major = parts[0]; 
    
    serial = get_kb_item('www/hp_laserjet/'+port+'/serial');
    if (empty_or_null(serial)) serial = "unknown";
    
    affected_models =
      make_list(
        "CZ255A", "CZ256A", "CZ257A", "CZ258A", # M651
        "D3L08A", "D3L09A", "D3L10A",           # M750
        "CZ249A", "CZ250A", "CA251A",           # M680
        "CD644A", "CD645A",                     # M575dn
        "CF116A", "CF117A",                     # M525f
        "CE989A", "CE990A",                     # M601
        "CE991A", "CE992A", "CE993A",           # M602
        "CE994A", "CE995A", "CE996A",           # M603xh
        "CC522A", "CC523A", "CC524A",           # M775
        "CF235A", "CF236A", "CF238A",           # M712xh
        "A2W77A", "A2W78A", "A2W79A",           # M855
        "A2W76A", "A2W75A", "D7P70A", "D7P71A", # M880
        "CF081A", "CF082A", "CF083A",           # M551
        "CD646A",                               # M575c
        "CF367A",                               # M830z
        "CF118A",                               # M525c
        "B3G85A",                               # M630z
        "CZ244A", "CZ245A",                     # M806
        "J7X28A",                               # M630
        "CF066A", "CF067A", "CF068A", "CF069A"  # M725
      );
    
    vuln = FALSE;
    # Check model
    foreach affected_model (affected_models)
    {
      if (affected_model == model)
      {
        vuln = TRUE;
        break;
      }
    }
    
    if (!vuln) audit(AUDIT_DEVICE_NOT_VULN, full_product);
    
    # Check firmware revision
    #  Only look at the first part of the firmware revision (e.g. 2307497 of 2307497_543950).
    #  The last part of the firmware revision changes for each model
    affected_firmware = make_array(
      "3.6.3", "2307497",
      "3.6.4", "2307619",
      "3.7",   "2307781",
      "3.7.1", "2307884",
      "3.7.2", "2307939"
    );
    
    installed_version = NULL;
    
    foreach affected_version (keys(affected_firmware))
    {
      if (affected_firmware[affected_version] == firmware_major)
      {
        installed_version = affected_version;
        break;
      }
    }
    
    if (isnull(installed_version)) audit(AUDIT_DEVICE_NOT_VULN, full_product, firmware);
    
    report =
      '\n  Product           : ' + product +
      '\n  Model             : ' + model +
      '\n  Serial number     : ' + serial +
      '\n  Source URL        : ' + url +
      '\n  Installed version : ' + installed_version + ' (' + firmware + ')' +
      '\n  Fixed version     : 3.7.01 (2307851)' +
      '\n';
    
    security_report_v4(extra:report, port:port, severity:SECURITY_WARNING);