# 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.