Severity: HIGH
Description: A non-primary administrator user with admin rights to the web interface but without shell access permissions can display configuration of the device including the master admin password. This vulnerability also allows the user to give themselves shell access with the root gid.
CVSS Score: 7.2
B
No data available.
No data available.
1. Risk Assessment
The vulnerability CVE-2025-36729 represents a significant risk to organizations utilizing RACOM M!DGE2 devices, specifically versions 4.0 through 4.6.40.106. The vulnerability stems from improper privilege management, allowing a non-primary administrator with web interface access, but without direct shell access, to both view the master administrator password and escalate privileges to gain root shell access. The CVSS score of 7.2 (High) reflects this, with high impact across Confidentiality, Integrity, and Availability. The attack vector is network-based, meaning it can be exploited remotely, and the attack complexity is low, making exploitation relatively easy. The likelihood of exploitation is moderate to high, particularly in environments where non-primary administrators frequently access the web interface. Business impact could range from data breaches due to compromised credentials to full system compromise and potential disruption of services if the device controls critical infrastructure or processes. The EPSS score of 0.004090000 indicates a relatively low but non-negligible probability of exploitation in the wild.
2. Potential Attack Scenarios
An attacker, posing as a legitimate non-primary administrator with web interface access, can exploit this vulnerability in the following scenario: The attacker logs into the M!DGE2 web interface using valid credentials. They navigate to the configuration section and, through a testing endpoint, are able to display the master administrator password. Utilizing this password, the attacker can then log in as the master administrator and grant themselves full shell access with root privileges. This gives the attacker complete control over the device, allowing them to potentially modify configurations, steal data, or use the device as a foothold for further network penetration. The attack vector is network-based, requiring only network connectivity to the M!DGE2 device’s web interface. The process is relatively straightforward, requiring minimal technical expertise beyond basic web interface navigation and credential usage. The potential outcome is full compromise of the device and potential lateral movement within the network.
3. Mitigation Recommendations
The primary mitigation for CVE-2025-36729 is to upgrade the RACOM M!DGE2 device to a version higher than 4.6.40.106, if a compatible version exists. This should be prioritized as an immediate action. If patching cannot be performed immediately, consider the following interim mitigations: Implement strong password policies for all administrator accounts, including non-primary administrators. Regularly rotate administrator passwords. Restrict network access to the M!DGE2 device's web interface to only trusted networks and users. Monitor the device for unusual activity, such as unexpected shell access or configuration changes. Further details can be found in the Tenable security research advisory: https://www.tenable.com/security/research/tra-2025-25. Consider implementing multi-factor authentication where possible for all administrator accounts.
4. Executive Summary
RACOM M!DGE2 devices are vulnerable to a high-severity privilege escalation flaw (CVE-2025-36729). A non-primary administrator can discover the master administrator password and gain root shell access, potentially leading to full device compromise. This could result in data breaches, service disruptions, and wider network penetration. The vulnerability is relatively easy to exploit and impacts confidentiality, integrity, and availability. We recommend upgrading to the latest version of the M!DGE2 firmware as quickly as possible. If immediate patching is not feasible, strengthen password policies and restrict network access to the device. Addressing this vulnerability is critical to protect your organization’s assets and maintain operational stability. The vulnerability represents a significant risk that should be addressed with urgency.