header-logo
Suggest Exploit
vendor:
HP LaserJet Professional M1210 MFP Series
by:
Ali Alipour
7.2
CVSS
HIGH
Unquoted Service Path
426
CWE
Product Name: HP LaserJet Professional M1210 MFP Series
Affected Version From: 20180815_1
Affected Version To: 20180815_1
Patch Exists: NO
Related CWE:
CPE: a:hp:laserjet_professional_m1210_mfp_series
Metasploit:
Other Scripts:
Platforms Tested: Windows 10 Pro x64
2022

HP LaserJet Professional M1210 MFP Series Receive Fax Service – Unquoted Service Path

The local user able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user's code would execute with the elevated privileges of the application.

Mitigation:

Ensure that all services are installed with a fully qualified path name, and that all services have the correct permissions set.
Source

Exploit-DB raw data:

# Exploit Title: HP LaserJet Professional M1210 MFP Series Receive Fax Service - Unquoted Service Path
# Date: 2022-06-06
# Exploit Author: Ali Alipour
# Vendor Homepage: https://support.hp.com/us-en/document/c01998934
# Software Link: https://support.hp.com/us-en/drivers/selfservice/hp-laserjet-pro-m1212nf-multifunction-printer-series/3965847
# Version: 20180815_1
# Tested on: Windows 10 Pro x64
# CVE : N/A

# Service info:

C:\Users\Wr3ak>sc qc "HPM1210RcvFaxSrvc"
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: HPM1210RcvFaxSrvc
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Program Files\HP\HP LaserJet M1210 MFP Series\ReceiveFaxUtility.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : HP LaserJet Professional M1210 MFP Series Receive Fax Service
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem


#Exploit:

The local user able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user's code would execute with the elevated privileges of the application.