Ameeba Chat App store presentation
Download Ameeba Chat Today
Ameeba Blog Search

CVE-2024-55371: Critical File Upload Vulnerability in Wallos Backup Restore Function

Ameeba’s Mission: Safeguarding privacy by securing data and communication with our patented anonymization technology.

Overview

The cybersecurity community is currently facing a significant challenge with the discovery of a critical vulnerability, CVE-2024-55371, found in versions 2.38.2 and below of the Wallos software system. This vulnerability, which poses a severe threat to data integrity and system security, revolves around the software’s backup restore function. Authenticated users, even those without administrative privileges, can exploit this vulnerability by uploading a ZIP file containing malicious files, potentially leading to system compromise or data leakage.
The severity of this vulnerability is emphasized by its Common Vulnerability Scoring System (CVSS) severity score of 9.8, signifying an urgent need for mitigation. This post provides an in-depth technical summary of the vulnerability, its potential impact, and actionable mitigation strategies.

Vulnerability Summary

CVE ID: CVE-2024-55371
Severity: Critical (CVSS: 9.8)
Attack Vector: Network
Privileges Required: Low (Authenticated User)
User Interaction: Required
Impact: System Compromise, Data Leakage

Affected Products

Ameeba Chat Icon 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

Wallos | <=2.38.2 How the Exploit Works

The exploit takes advantage of the “restore backup” function of Wallos. This function allows any authenticated user to upload and restore backups via a ZIP file. The contents of the ZIP file are then extracted directly on the server.
An attacker can manipulate this functionality by injecting malicious files into the ZIP file, such as a web shell. Once the web shell is uploaded and installed on the server, the attacker gains the ability to execute arbitrary commands, potentially leading to full system compromise or data leakage.

Conceptual Example Code

Below is a conceptual example of how the vulnerability might be exploited:

POST /backup_restore HTTP/1.1
Host: vulnerable-wallos-server.com
Content-Type: application/zip
{ "backup_file": "<malicious_zip_file>" }

In the above example, the malicious_zip_file is a ZIP file containing the web shell or other malicious payload. Once the file is uploaded and extracted on the server, the attacker can use the web shell to execute arbitrary commands.

Mitigation Guidance

The best course of action to mitigate the risk posed by this vulnerability is to apply the vendor-supplied patch. If a patch is not immediately available or applicable, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as temporary mitigation. These systems can help detect and prevent the uploading of malicious files, reducing the risk of exploitation.
Remember, early detection and prompt action are crucial to maintaining a secure infrastructure in the face of emerging vulnerabilities like CVE-2024-55371.

Talk freely. Stay anonymous with Ameeba Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat