A unauthenticated Remote Code Execution vulnerability exists in the embedded webserver in certain Lexmark devices through 2023-02-19. The vulnerability is only exposed if, when setting up the printer or device, the user selects "Set up Later" when asked if they would like to add an Admin user. If no Admin user is created the endpoint `/cgi-bin/fax_change_faxtrace_settings` is accessible without authentication. The endpoint allows the user to configure a number of different fax settings. A number of the configurable parameters on the page (ex. `FT_Custom_lbtrace`) fail to be sanitized properly before being used in an bash eval statement: `eval "$cmd" > /dev/null`, allowing for an unauthenticated user to run arbitrary commands.
Exploit database
Vulnerability
CVE-2023-26067
Vulnerability details
- Score
- 8.1
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
Certain Lexmark devices through 2023-02-19 mishandle Input Validation (issue 1 of 4).
CVE ProgramExploit source choices
3 sourcesLexmark Device Embedded Web Server RCE
2023-03-13lexmark_faxtrace_settings.rb
horizon3ai/cve-2023-26067
Lexmark CVE-2023-26067
2023-08-074 files · 30 stars
charondefalt/printer-exploit-toronto
charondefalt/printer-exploit-toronto source repository
2023-08-114 files · 1 stars