Lexmark — 1 vulnerability check
noctis ships 1 vulnerability check for Lexmark, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Lexmark printers configuration wipe page reachable without authentication
| CVE | CVE-2021-44736 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | exposure — Exposure |
| Services | http, https |
| Detection | tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/lexmark/CVE-2021-44736.yaml |
Requests the memwipe page (and the Maintenance settings page as a fallback) without credentials and reports when the printer offers to erase all its settings, which lets anyone reset the device.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /cgi-bin/dynamic/printer/config/secure/memwipe.html?lang=0 HTTP/1.0 - Checks
resp.bannerfor(?s)^HTTP/1\.[01] 200\b.*This operation will clear all settings, solu…→ finding QoD 75: Lexmark memwipe.html offered to clear all settings without authentication: … - Raw TCP (TLS on HTTPS), sent verbatim:
GET /webglue/content?depth=0&c=/Settings/Device/Maintenance&lang=en HTTP/1.0 - Checks
resp2.bannerfor(?s)^HTTP/1\.[01] 200\b.*Erase all printer and network settings→ finding QoD 75: Lexmark Maintenance page offered to erase all printer and network settings without authentication: …
References:
Feed source — tests/vulnerabilities/lexmark/CVE-2021-44736.yaml
uid: 86379286-ea92-4e15-9cf9-3ed8c61933f6
name: "Lexmark printers configuration wipe page reachable without authentication (CVE-2021-44736)"
description: "Requests the memwipe page (and the Maintenance settings page as a fallback) without credentials and reports when the printer offers to erase all its settings, which lets anyone reset the device."
cves: [CVE-2021-44736]
cvss: 9.8
severity: critical
category: exposure
confidence_base: 0.3
tags: [openvas-migrated, http, lexmark]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2021-44736"
- "OpenVAS NASL 2022/lexmark/gb_lexmark_CVE-2021-44736_active.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2022/lexmark/gb_lexmark_CVE-2021-44736_active.nasl (GPL-2.0-only).
steps:
- id: exploit
action: tcp_connect
port: "{{port}}"
send: "GET /cgi-bin/dynamic/printer/config/secure/memwipe.html?lang=0 HTTP/1.0\r\nHost: {{target_host}}\r\nCookie: lexlang=0\r\n\r\n"
store_as: resp
- id: detect
action: match
source: resp.banner
pattern: "(?s)^HTTP/1\\.[01] 200\\b.*This operation will clear all settings, solutions, and jobs"
on_match:
finding:
confidence_delta: 0.5
qod: 75
evidence: "Lexmark memwipe.html offered to clear all settings without authentication: {{resp.banner}}"
stop: true
# NASL fallback for newer firmware: the memwipe page may be absent, so the
# check falls back to the Maintenance settings page and its own witness.
- id: exploit_fallback
action: tcp_connect
port: "{{port}}"
send: "GET /webglue/content?depth=0&c=/Settings/Device/Maintenance&lang=en HTTP/1.0\r\nHost: {{target_host}}\r\nCookie: lexlang=0\r\n\r\n"
store_as: resp2
- id: detect_fallback
action: match
source: resp2.banner
pattern: "(?s)^HTTP/1\\.[01] 200\\b.*Erase all printer and network settings"
on_match:
finding:
confidence_delta: 0.5
qod: 75
evidence: "Lexmark Maintenance page offered to erase all printer and network settings without authentication: {{resp2.banner}}"
stop: true