cbcvebase.
CVE-2021-44735
published 2022-01-20

CVE-2021-44735: Embedded web server command injection vulnerability in Lexmark devices through 2021-12-07.

PriorityP265critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
7.03%
93.5th percentile
Embedded web server command injection vulnerability in Lexmark devices through 2021-12-07.

Affected

119 ranges· showing 25
VendorProductVersion rangeFixed in
lexmarkb2236_firmware< mslsg.076.294mslsg.076.294
lexmarkb2338_firmware< msngm.076.294msngm.076.294
lexmarkb2442_firmware< msngm.076.294msngm.076.294
lexmarkb2546_firmware< msngm.076.294msngm.076.294
lexmarkb2650_firmware< msngm.076.294msngm.076.294
lexmarkb2865_firmware< msngw.076.294msngw.076.294
lexmarkb3340_firmware< mslbd.076.294mslbd.076.294
lexmarkb3442_firmware< mslbd.076.294mslbd.076.294
lexmarkc2240_firmware< cstzj.076.294cstzj.076.294
lexmarkc2325_firmware< csnzj.076.294csnzj.076.294
lexmarkc2326_firmware< cslbn.076.294cslbn.076.294
lexmarkc2425_firmware< csnzj.076.294csnzj.076.294
lexmarkc2535_firmware< csnzj.076.294csnzj.076.294
lexmarkc3224_firmware< cslbl.076.294cslbl.076.294
lexmarkc3326_firmware< cslbl.076.294cslbl.076.294
lexmarkc3426_firmware< cslbn.076.294cslbn.076.294
lexmarkc4150_firmware< cstat.076.294cstat.076.294
lexmarkc6160_firmware< cstpp.076.294cstpp.076.294
lexmarkc9235_firmware< cstmh.076.294cstmh.076.294
lexmarkcs331_firmware< cslbl.076.294cslbl.076.294
lexmarkcs421_firmware< csnzj.076.294csnzj.076.294
lexmarkcs431_firmware< cslbn.076.294cslbn.076.294
lexmarkcs439_firmware< cslbn.076.294cslbn.076.294
lexmarkcs521_firmware< csnzj.076.294csnzj.076.294
lexmarkcs622_firmware< cstzj.076.294cstzj.076.294

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://target/cgi-bin/sniffcapture_post
path/usr/share/web/cgi-bin
path/usr/bin/collect-selogs-wrapper
path/usr/bin/collect-selogs.sh
versionCXLBL.075.272
versionCXLBL.075.281
commandeval rob call system.sniffer ${method} "{${fmt}}" ${args:1} 2>/dev/null
  • Monitor HTTP POST requests to /cgi-bin/sniffcapture_post on Lexmark embedded web servers; this is the injection point for CVE-2021-44735 shell command injection via the unsanitized 'filter' (-F) parameter.
  • The vulnerable CGI script resides at /usr/share/web/cgi-bin and passes user-controlled 'filter' input unsanitized into an eval'd shell command; look for shell metacharacters in the -F parameter of requests to sniffcapture_post.
  • Exploitation results in code execution as uid=985(httpd); subsequent privilege escalation abuses the SUID binary collect-selogs-wrapper (-rwsr-xr-x) which calls execv() on /usr/bin/collect-selogs.sh without sanitizing $PATH, enabling root execution.
  • The SUID binary collect-selogs-wrapper is world-executable and owned by root; detect unexpected execution of /usr/bin/collect-selogs.sh or /usr/bin/collect-selogs-wrapper by non-root processes as a privilege escalation indicator.
  • Affected firmware versions are CXLBL.075.272 and CXLBL.075.281; inventory Lexmark MC3224 devices running these firmware versions as they are vulnerable to unauthenticated RCE as root.
  • The attack chain begins with an authentication reset via the printer's web interface (clearing non-volatile memory), after which all web interface functions become accessible without authentication; detect unauthenticated access to printer admin functions following a factory reset event.
  • ·CVE-2021-44735 is fixed in firmware CXLBL.076.294, but CVE-2021-44736 (Authentication Reset) requires a separate workaround even after applying the fixed firmware; patching alone is insufficient for full remediation.
  • ·The affected firmware version list is explicitly noted as incomplete ('without claim for completeness'); other Lexmark firmware versions beyond CXLBL.075.272 and CXLBL.075.281 may also be vulnerable.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.