CVE-2025-6797
Executive Summary
CVE-2025-6797 is a critical directory traversal vulnerability in Marvell QConvergeConsole, specifically within the getFileUploadBytes method. The flaw allows unauthenticated remote attackers to read arbitrary files on the underlying system, leading to information disclosure at the SYSTEM privilege level. With a CVSS score of 7.5, this vulnerability poses a significant risk to enterprise environments using Marvell’s storage and network management console. No public exploit code or patch is currently available, making detection and mitigation essential.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – Exploitable remotely.
- Attack Complexity (AC): Low (L) – No special conditions required.
- Privileges Required (PR): None (N) – No authentication needed.
- User Interaction (UI): None (N) – No user action required.
- Scope (S): Unchanged (U) – Vulnerability does not cross trust boundaries.
- Confidentiality (C): High (H) – Full file read capability.
- Integrity (I): None (N) – No data modification.
- Availability (A): None (N) – No denial of service.
Threat Level: High – Unauthenticated remote file disclosure with SYSTEM privileges.
Deep Dive & Mechanics
The vulnerability resides in the getFileUploadBytes method of Marvell QConvergeConsole. This method is designed to handle file upload operations but fails to validate user-supplied path parameters. An attacker can supply a path traversal sequence (e.g., ../../../windows/system32/config/sam) to read arbitrary files outside the intended upload directory.
The lack of input sanitization allows the attacker to bypass directory restrictions and access sensitive system files, including configuration files, credentials, and cryptographic keys. Since the service runs with SYSTEM privileges, the attacker gains access to the highest level of system data.
Attack Flow:
- Identify the vulnerable endpoint (likely a REST API or web service).
- Craft a request with a path traversal payload in the file path parameter.
- Send the request without authentication.
- Receive the contents of the targeted file in the response.
Vulnerable vs. Patched Code
Vulnerable Code (Conceptual):
public byte[] getFileUploadBytes(String filePath) {
File file = new File(filePath);
// No validation of filePath
return Files.readAllBytes(file.toPath());
}
Patched Code (Conceptual):
public byte[] getFileUploadBytes(String filePath) {
// Normalize and validate path
Path normalizedPath = Paths.get(filePath).normalize();
if (!normalizedPath.startsWith(ALLOWED_UPLOAD_DIR)) {
throw new SecurityException("Invalid file path");
}
return Files.readAllBytes(normalizedPath);
}
The patched version uses path normalization and checks that the resolved path stays within an allowed base directory.
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- Target running Marvell QConvergeConsole with the vulnerable
getFileUploadBytesendpoint. - Network access to the management interface (typically port 443 or 8443).
Exploit Steps:
- Identify the vulnerable endpoint (e.g.,
/api/upload/getFileUploadBytes). - Craft a request with a path traversal payload:
GET /api/upload/getFileUploadBytes?filePath=../../../windows/system32/config/sam HTTP/1.1 Host: target:8443 - Send the request using
curl:curl -k "https://target:8443/api/upload/getFileUploadBytes?filePath=../../../windows/system32/config/sam" - The response will contain the contents of the SAM file (or other targeted file).
Alternative Payloads:
- Linux:
../../../../etc/shadow - Windows:
../../../../Windows/System32/drivers/etc/hosts
Blue Team (Detection & Hardening)
Detection:
- Monitor for HTTP requests containing
../or..\\in query parameters. - Alert on access to sensitive file paths (e.g.,
/etc/shadow,config/sam). - Use WAF rules to block path traversal patterns.
Hardening:
- Apply input validation and path normalization on the server side.
- Restrict the service account to minimal file system permissions.
- Implement network segmentation to limit access to the management console.
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP requests with
filePathparameter containing../or..\\. - Outbound connections from the target to unknown IPs after exploitation.
- HTTP requests with
- File IOCs:
- Unexpected access to
C:\Windows\System32\config\SAMor/etc/shadow. - Log entries showing file read operations outside the upload directory.
- Unexpected access to
- System IOCs:
- Unusual process activity from the QConvergeConsole service reading system files.
Detection Engineering
YARA Rule
rule CVE_2025_6797_Directory_Traversal {
meta:
description = "Detects path traversal attempts targeting Marvell QConvergeConsole getFileUploadBytes"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-6797"
strings:
$traversal1 = "../"
$traversal2 = "..\\"
$endpoint = "getFileUploadBytes"
condition:
$endpoint and ($traversal1 or $traversal2)
}
Sigma Rule
title: CVE-2025-6797 Directory Traversal in Marvell QConvergeConsole
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects HTTP requests with path traversal patterns in the getFileUploadBytes endpoint
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
cs-uri-query|contains:
- 'getFileUploadBytes'
- '../'
- '..\\'
condition: selection
falsepositives:
- Legitimate file paths with dots (rare)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-6797 Marvell QConvergeConsole Directory Traversal"; flow:to_server; content:"getFileUploadBytes"; http_uri; content:"../"; http_uri; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Isolate the QConvergeConsole from untrusted networks (e.g., place behind a firewall).
- Apply WAF rules to block path traversal patterns in query parameters.
- Monitor logs for suspicious file access attempts.
Long-Term Fix:
- Await an official patch from Marvell. In the interim, consider disabling the
getFileUploadBytesendpoint if not required. - Implement strict input validation and path normalization in custom code.
Workaround:
- Restrict file system permissions for the service account to only the necessary upload directory.
Valters IT – DevSecOps & Cyber Threat Intelligence
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.