HIGH 7.8

CVE-2019-25747: Network Inventory Advisor Unquoted Service Path Privilege Escalation

Network Inventory Advisor version 5.0.26.0 contains a privilege escalation vulnerability stemming from how it installs its Windows service. The service binary path is not properly quoted, which means Windows will search for and execute the first matching file it encounters while parsing the path—a classic local privilege escalation vector. An authenticated attacker with limited user privileges can place a malicious executable in an intermediate directory along the service's search path, and when the service starts (either at boot or manual restart), their malicious code runs with full system-level privileges. This converts a local access account into full system compromise.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.8 HIGH · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-428
Affected products
0 configuration(s)
Published / Modified
2026-06-19 / 2026-06-23

NVD description (verbatim)

Network Inventory Advisor 5.0.26.0 installs the niaservice service with an unquoted binary path that allows local attackers to escalate privileges by placing malicious executables in intermediate directories. Attackers can exploit the unquoted path in the service configuration to execute arbitrary code with LocalSystem privileges when the service starts or restarts.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exploits an unquoted service path in the Windows registry configuration for the niaservice service installed by Network Inventory Advisor 5.0.26.0. Under CWE-428 (Unquoted Search Path or Element), when a service path like 'C:\Program Files\Vendor\Product\service.exe' lacks quotes, the Windows service control manager attempts to locate the executable by testing progressively truncated versions: 'C:\Program.exe', 'C:\Program Files\Vendor.exe', etc. An unprivileged local user can pre-position a malicious executable at one of these intermediate paths. Upon service initialization or restart, the service manager loads the attacker's binary instead of the legitimate one, executing it with the LocalSystem account context—the highest privilege level in Windows. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects local vector, low attack complexity, requirement for low-level user privileges, no user interaction needed, and full confidentiality, integrity, and availability impact.

Business impact

Compromise of any machine running Network Inventory Advisor 5.0.26.0 can result in immediate elevation to system-level access, enabling attackers to install persistent backdoors, steal sensitive data, modify or delete critical system files, deploy ransomware, or pivot to adjacent network resources. For organizations using this tool in their IT infrastructure or asset management workflows, this represents a direct path from employee or contractor account compromise to infrastructure takeover. The impact is particularly acute in environments where the application runs on domain-joined machines or servers with access to sensitive network resources.

Affected systems

Network Inventory Advisor version 5.0.26.0 is the confirmed affected release. Organizations should verify whether this specific version is deployed in their environment. Newer versions of the software may have addressed this issue; consult vendor advisories for patched release information and version availability.

Exploitability

Exploitation requires local access to an affected machine and at least unprivileged user-level credentials. No network vector is present; remote exploitation is not possible. However, the bar for successful local exploitation is low: the attack requires only knowledge of the service path structure and the ability to write to one of the intermediate directories (often world-writable or writable by standard users on shared systems). No authentication bypass or privilege-level manipulation is needed—the Windows service control manager itself performs the escalation once the malicious file is in place. This is a reliable, repeatable attack with high success probability once the preconditions are met.

Remediation

Primary remediation is immediate patching or upgrading Network Inventory Advisor to a version released after this vulnerability was identified. Verify the patched version against the vendor's security advisory to confirm the unquoted service path has been corrected. As an interim control, organizations should restrict write permissions on directories in the service binary's search path (e.g., 'C:\Program Files\' and 'C:\Program Files (x86)\'), though this may be difficult to enforce consistently across endpoints. Ensure the service runs under a least-privilege account if possible, though LocalSystem is the default and may be required by the application. Periodic audits of installed services and their path configurations can identify similar misconfigurations in other software.

Patch guidance

Consult Network Inventory Advisor's vendor security advisory for the specific patched version that addresses this unquoted service path issue. When a patch is available, test it in a staging environment to confirm it resolves the vulnerability and does not disrupt normal application functionality. Verify post-patch that the service registry entry contains properly quoted paths. Roll out patches through your standard change management process, prioritizing systems with higher user density or those with access to critical assets. Document the patching timeline for compliance records.

Detection guidance

On systems running Network Inventory Advisor 5.0.26.0, examine the registry entry for the niaservice service (typically at HKLM\SYSTEM\CurrentControlSet\Services\niaservice) and check the 'ImagePath' value for proper quotation marks around the full path. Unquoted paths are a red flag. Additionally, monitor process creation events (Windows Event ID 1 in Sysmon or Event ID 4688 in the Security log) for unusual executables launching with LocalSystem privileges from unexpected locations. File integrity monitoring on the service executable location can alert if files are created in intermediate path directories that shouldn't contain executables. Review access logs for the application directories to identify unauthorized file creation.

Why prioritize this

This vulnerability merits immediate attention due to its HIGH severity (CVSS 7.8), local privilege escalation capability, and the ease with which it can be exploited once an attacker has any user account on the machine. Organizations operating Network Inventory Advisor 5.0.26.0 should prioritize patching or upgrading this application within their standard critical patch windows. The combination of low attack complexity and guaranteed system-level impact if successfully exploited outweighs the local-access requirement in most environments where insider threats or lateral movement scenarios are relevant.

Risk score, explained

The CVSS 3.1 score of 7.8 (HIGH) reflects the severe impact (full confidentiality, integrity, and availability compromise via system-level code execution) weighted against the requirement for local access and low-level user privileges. The score accurately captures this as a serious local privilege escalation that demands rapid remediation, though it does not apply the network-accessible penalty that would apply to a remote vulnerability. In the context of endpoint and internal network threats, 7.8 should be treated as a high-priority finding.

Frequently asked questions

Can this vulnerability be exploited remotely or across the network?

No. This vulnerability requires local access to the affected machine and local user-level privileges. It cannot be exploited from a remote system or by an unauthenticated attacker. However, any compromised user account on the machine—including accounts from lateral movement or insider access—can be leveraged to trigger the escalation.

What versions of Network Inventory Advisor are affected?

Version 5.0.26.0 is confirmed as vulnerable. To determine if your deployment includes this version, check the application's version information in Control Panel > Programs and Features or query the application's documentation. Consult the vendor's advisory for a complete list of affected versions and the availability of patched releases.

If we restrict write permissions to Program Files, does that prevent exploitation?

Restricting write permissions to intermediate path directories can reduce risk, but this is a mitigation, not a fix. The underlying flaw is the unquoted path itself. Permissions can be bypassed or circumvented in some scenarios. The definitive solution is to upgrade to a patched version of the software that uses properly quoted service paths.

How do I verify if the patch has been successfully applied?

After patching, check the niaservice registry entry at HKLM\SYSTEM\CurrentControlSet\Services\niaservice and confirm the ImagePath value is surrounded by quotation marks (e.g., '"C:\Program Files\...\service.exe"'). You can also cross-reference the application's version number against the vendor's release notes for the patched build.

This analysis is provided for informational purposes and reflects publicly available vulnerability data as of the publication date. The information herein is not a substitute for thorough testing in your own environment. Organizations should always consult vendor security advisories and release notes to confirm patched versions, compatibility, and deployment procedures. SEC.co does not endorse or guarantee any specific remediation approach; implement changes only after appropriate testing and approval through your organization's change control process. No exploit code or weaponized proof-of-concepts are provided. Always follow your organization's incident response and vulnerability management policies. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).