Overview
A critical vulnerability has been discovered in OpenMediaVault 7.4.17, potentially allowing attackers to escalate privileges to root level. This report provides a comprehensive analysis of CVE-2025-50674, detailing the potential threat it poses to data security and system integrity.
Vulnerability Summary
CVE ID: CVE-2025-50674
Severity: High (7.8 CVSS Score)
Attack Vector: Local
Privileges Required: User
User Interaction: Required
Impact: Privilege escalation to root, potentially resulting in system compromise or data leakage.
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
OpenMediaVault | 7.4.17
How the Exploit Works
The vulnerability resides in the changePassword method in the /usr/share/php/openmediavault/system/user.inc file. A local authenticated attacker can exploit this vulnerability to escalate their privileges to root level, potentially allowing them to compromise the system or leak data.
Conceptual Example Code
While no specific code is provided for this vulnerability, the conceptual exploitation could involve an authenticated user changing their password in a manner that manipulates the system and escalate their privileges. It could look something like this:
changePassword($user, $current_password, $new_password, $root_privileges = true);
In this conceptual example, the attacker modifies the changePassword function to include a parameter that grants root privileges.
Remediation
As a mitigation measure, it is strongly advised to apply vendor-provided patches immediately. In case of patch unavailability, users are advised to use a Web Application Firewall (WAF) or Intrusion Detection System (IDS) as temporary mitigation. Regularly updating and patching systems can significantly reduce the risk of such vulnerabilities.