Hp Mpa — 1 vulnerability check

noctis ships 1 vulnerability check for Hp Mpa, covering 4 CVEs; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

HP Managed Printing Administration before 2.6.4 multiple vulnerabilities

CVECVE-2011-4166, CVE-2011-4167, CVE-2011-4168, CVE-2011-4169
Severityhigh
Categoryrce — Remote code execution
Serviceshttp, https
Detectionset_var, http_request, match · highest QoD 70
Feedtests/vulnerabilities/hp-mpa/hp-managed-printing-admin-multi.yaml

Detects HP Managed Printing Administration (MPA) installations older than 2.6.4, which contain file upload directory traversal, a stack buffer overflow in MPAUploader.dll and a directory traversal in hpmpa/jobDelivery/Default.asp. The feed requests /hpmpa/home/, checks that the page title is "HP Managed Printing Administration", reads the version printed by the page and reports any version below 2.6.4. No exploit request is sent, so the finding is a version fingerprint.

How noctis detects it

  1. HTTP(S) request GET /hpmpa/home/
  2. Checks home.body for (?s)title>\s*HP Managed Printing Administration.*<dd>v(?:[01]\.[0-9]+… → finding QoD 70: HP Managed Printing Administration before 2.6.4 (CVE-2011-4166/4167/4168/4169)

References:

Feed source — tests/vulnerabilities/hp-mpa/hp-managed-printing-admin-multi.yaml
# HP Managed Printing Administration < 2.6.4 — CVE-2011-4166, CVE-2011-4167, CVE-2011-4168, CVE-2011-4169
#
# MPAUploader.Uploader.1.UploadFiles / MPAUploader.dll (arbitrary file creation, stack overflow)
# and hpmpa/jobDelivery/Default.asp (directory traversal) are all fixed in 2.6.4. All of them
# need a file-writing or memory-corrupting request, and the exact request format is not
# documented, so the feed sends none: it reads the product version from /hpmpa/home/ (read-only).
# Version fingerprint only: QoD 70. Based on the OpenVAS gb_hp_managed_printing_admin_mult_vuln check.
uid: 5c1e2b7a-3f64-4d9e-9a1b-8e7d52c0f4a3
name: "HP Managed Printing Administration before 2.6.4 multiple vulnerabilities"
description: |
  Detects HP Managed Printing Administration (MPA) installations older than 2.6.4, which
  contain file upload directory traversal, a stack buffer overflow in MPAUploader.dll and a
  directory traversal in hpmpa/jobDelivery/Default.asp. The feed requests /hpmpa/home/,
  checks that the page title is "HP Managed Printing Administration", reads the version
  printed by the page and reports any version below 2.6.4. No exploit request is sent, so the
  finding is a version fingerprint.
category: rce
cves: [CVE-2011-4166, CVE-2011-4167, CVE-2011-4168, CVE-2011-4169]
severity: high
confidence_base: 0.30
tags: [hp, managed-printing-administration, mpa, version]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2011-4166"
  - "https://nvd.nist.gov/vuln/detail/CVE-2011-4167"
  - "https://nvd.nist.gov/vuln/detail/CVE-2011-4168"
  - "https://nvd.nist.gov/vuln/detail/CVE-2011-4169"

steps:
  - id: init-home
    action: set_var
    var_name: home
    var_value: {status: 0, headers: {}, body: ""}

  - id: probe-home
    action: http_request
    method: GET
    path: /hpmpa/home/
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    store_as: home

  - id: old-version
    action: match
    source: home.body
    pattern: '(?s)title>\s*HP Managed Printing Administration.*<dd>v(?:[01]\.[0-9]+(?:\.[0-9]+)*|2\.[0-5](?:\.[0-9]+)*|2\.6(?:\.[0-3])?)<'
    condition: "home.status == 200"
    on_match:
      finding:
        confidence_delta: 0.40
        qod: 70
        title: "HP Managed Printing Administration before 2.6.4 (CVE-2011-4166/4167/4168/4169)"
        evidence: "/hpmpa/home/ reports an HP Managed Printing Administration version below 2.6.4"

View these feeds on GitHub