CVE-2017-0912 in UCRMinfo

Summary

by MITRE

Ubiquiti UCRM versions 2.5.0 to 2.7.7 are vulnerable to Stored Cross-site Scripting. Due to the lack sanitization, it is possible to inject arbitrary HTML code by manipulating the uploaded filename. Successful exploitation requires valid credentials to an account with "Edit" access to "Scheduling".

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 02/24/2020

Ubiquiti UCRM versions 2.5.0 through 2.7.7 contain a stored cross-site scripting vulnerability that represents a significant security risk for organizations relying on this network management platform. This vulnerability falls under the CWE-79 category of Cross-site Scripting and specifically manifests as a stored XSS flaw that allows attackers to inject malicious HTML code into the system. The vulnerability stems from insufficient input sanitization mechanisms within the filename handling process during file uploads, creating an attack vector that can persistently compromise user sessions and system integrity.

The technical implementation of this vulnerability occurs when authenticated users with edit permissions to scheduling functionality manipulate uploaded filenames to include malicious script code. When other users view these manipulated filenames, the injected scripts execute in their browser context, potentially leading to session hijacking, credential theft, or redirection to malicious sites. The attack requires valid credentials with specific permissions, making it a privilege escalation vulnerability rather than a direct authentication bypass. This aligns with ATT&CK technique T1078.004 which covers Valid Accounts and T1531 which covers Account Access Removal, as the vulnerability exploits legitimate user privileges to execute malicious code.

The operational impact of this vulnerability extends beyond simple script execution, as it can enable attackers to establish persistent access to network management systems that control critical infrastructure components. Network administrators who regularly interact with scheduling data become potential targets, as the stored nature of the vulnerability means that malicious code remains active until manually removed from the system. The vulnerability affects organizations using Ubiquiti's UCRM platform for managing their wireless networks, potentially compromising the security of entire network operations and exposing sensitive configuration data.

Organizations should implement immediate mitigations including input validation and sanitization of all user-supplied data, particularly filename inputs during file uploads. The recommended approach involves implementing strict filename validation that removes or encodes potentially dangerous characters before processing. Additionally, organizations should consider implementing Content Security Policy headers to limit script execution capabilities, while also ensuring that users with edit permissions to scheduling functionality are properly monitored and audited. Regular security updates and patch management should be prioritized to address this vulnerability, as the affected versions represent a window of opportunity for attackers to exploit legitimate access privileges. The vulnerability demonstrates the importance of proper input validation and the principle of least privilege, where users should only be granted access necessary for their specific roles within the network management system.

Reservation

11/30/2016

Disclosure

07/03/2018

Moderation

accepted

CPE

ready

EPSS

0.00543

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!