ManageEngine Firewall Analyzer 8.5 Unquoted Service Path Elevation Of Privilege

ManageEngine Firewall Analyzer 8.5 Unquoted Service Path Elevation Of Privilege

ManageEngine Firewall Analyzer 8.5 Unquoted Service Path Elevation Of Privilege

Affected version: ManageEngine Firewall Analyzer 8.5
Vendor Homepage: https://www.manageengine.com/products/firewall/download.html

Description: The application suffers from an unquoted search path issue impacting the service 'firewallanalyzer' for Windows. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. A successful attempt would require the local user to be 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

Tested on: Microsoft Windows 7 Ultimate

Vulnerability discovered by Sachin Wagh (tiger_tigerboy)

Proof-Of-Concept:

C:\Users\Tigerboy>sc qc firewallanalyzer
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: firewallanalyzer
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\ManageEngine\Firewall\bin\wrapper.exe -s C:\ManageEngine\Firewall\server\conf\wrapper.conf
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : ManageEngine Firewall Analyzer
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

C:\Users\Tigerboy>


Credit :

Sachin Wagh (tiger_tigerboy)

                New to ADSelfService Plus?