Description
RomM (ROM Manager) allows users to scan, enrich, browse and play their game collections with a clean and responsive interface. In versions 4.0.0-beta.3 and below, an authenticated arbitrary file write vulnerability exists in the /api/saves endpoint. This can lead to Remote Code Execution on the system. The vulnerability permits arbitrary file write operations, allowing attackers to create or modify files at any filesystem location with user-supplied content. A user with viewer role or Scope.ASSETS_WRITE permission or above is required to pass authentication checks. The vulnerability is fixed in version 4.0.0-beta.4.
EPSS Score:
0%
Comprehensive Technical Analysis of EUVD-2025-22157
1. Vulnerability Assessment and Severity Evaluation
The vulnerability identified in RomM (ROM Manager) versions 4.0.0-beta.3 and below is an authenticated arbitrary file write vulnerability in the /api/saves endpoint. This vulnerability allows attackers to write arbitrary files to any location in the filesystem, potentially leading to Remote Code Execution (RCE). The severity of this vulnerability is high, as indicated by the CVSS base score of 9.4.
CVSS Vector Breakdown:
- AV:N (Network Vector): The vulnerability is exploitable over the network.
- AC:L (Low Complexity): The attack requires low complexity to execute.
- AT:N (No Authentication): No additional authentication is required beyond the initial access.
- PR:L (Low Privileges): The attacker needs low-level privileges (viewer role or Scope.ASSETS_WRITE permission).
- UI:N (No User Interaction): No user interaction is required for the attack to succeed.
- VC:H (High Confidentiality Impact): The vulnerability has a high impact on confidentiality.
- VI:H (High Integrity Impact): The vulnerability has a high impact on integrity.
- VA:H (High Availability Impact): The vulnerability has a high impact on availability.
- SC:H (High Scope Change): The vulnerability affects components beyond the security scope.
- SI:H (High Integrity Requirement): The integrity requirement is high.
- SA:H (High Availability Requirement): The availability requirement is high.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Authenticated Users: Attackers with viewer role or Scope.ASSETS_WRITE permission can exploit this vulnerability.
- Network Access: The vulnerability can be exploited over the network, making it accessible to remote attackers.
Exploitation Methods:
- Arbitrary File Write: Attackers can send specially crafted requests to the
/api/savesendpoint to write arbitrary files to any location in the filesystem. - Remote Code Execution: By writing executable files or modifying system files, attackers can achieve RCE, leading to full system compromise.
3. Affected Systems and Software Versions
Affected Software:
- RomM (ROM Manager) versions 4.0.0-beta.3 and below.
Affected Systems:
- Any system running the vulnerable versions of RomM, including personal computers, servers, and cloud instances.
4. Recommended Mitigation Strategies
Immediate Actions:
- Upgrade: Upgrade to RomM version 4.0.0-beta.4 or later, which includes the fix for this vulnerability.
- Access Control: Restrict access to the
/api/savesendpoint to trusted users only. - Monitoring: Implement monitoring and logging for suspicious activities related to the
/api/savesendpoint.
Long-Term Strategies:
- Regular Updates: Ensure that all software, including RomM, is regularly updated to the latest versions.
- Least Privilege: Apply the principle of least privilege to user roles and permissions.
- Security Audits: Conduct regular security audits and vulnerability assessments.
5. Impact on European Cybersecurity Landscape
The vulnerability in RomM poses a significant risk to European organizations and individuals using the software. Given the high CVSS score, the potential for RCE, and the ease of exploitation, this vulnerability could be leveraged by attackers to compromise systems, exfiltrate data, and disrupt services. The widespread use of RomM for managing game collections increases the potential attack surface, making it a critical concern for the European cybersecurity landscape.
6. Technical Details for Security Professionals
Vulnerability Details:
- Endpoint:
/api/saves - Vulnerability Type: Authenticated Arbitrary File Write
- Impact: Remote Code Execution
- Required Permissions: Viewer role or Scope.ASSETS_WRITE permission
Exploitation Steps:
- Authentication: Obtain valid credentials with the required permissions.
- Craft Request: Create a malicious request to the
/api/savesendpoint with the desired file content and location. - Send Request: Send the crafted request to the vulnerable endpoint.
- Execute Code: If successful, the attacker can write executable files or modify system files to achieve RCE.
Detection and Response:
- Log Analysis: Analyze logs for unusual activities related to the
/api/savesendpoint. - File Integrity Monitoring: Implement file integrity monitoring to detect unauthorized file modifications.
- Intrusion Detection: Use intrusion detection systems (IDS) to identify and respond to suspicious network traffic.
References:
By addressing this vulnerability promptly and implementing robust security measures, organizations can mitigate the risk and protect their systems from potential attacks.