FIRST HAKER 👁 [NEWS]

FIRST HAKER 👁 [NEWS]

@xakep_one

Vulnerabilities in Mailcow could lead to remote code execution

Two vulnerabilities have been identified in the open-source mail server Mailcow that could allow attackers to execute arbitrary code.


Both issues are present in all versions of Mailcow up to 2024-04, released on April 4, 2024. The vulnerabilities were discovered by SonarSource specialists in March 2024.


**CVE-2024-30270 (CVSS Score 6.7)**: A path traversal vulnerability in the rspamd_maps() function could lead to the execution of arbitrary commands on the server, allowing an attacker to overwrite any file that can be modified by the www user -data.


**CVE-2024-31204 (CVSS Score 6.8)**: An XSS vulnerability in the exception handling mechanism when not running in DEV_MODE.


Researchers explain that the CVE-2024-31204 problem is due to the fact that when exceptions are handled, information about them is stored without processing and encryption, and then converted to HTML and executed as JavaScript in the user's browser.


This allows attackers to inject malicious scripts into the admin panel by triggering exceptions, which can lead to session hijacking and execution of privileged actions in the admin context.


Thus, by combining both vulnerabilities, an attacker can gain control of accounts on the Mailcow server, access to confidential data, and the ability to execute commands.

The researchers described a possible attack scenario in which an attacker crafts an HTML email with a background CSS image loaded from a remote URL to trigger and execute an XSS payload.


“An attacker could combine both vulnerabilities and execute arbitrary code in the admin panel of a vulnerable Mailcow instance,” SonarSource warned. — To do this, it is necessary for the administrator to view the malicious email while logged in to the admin panel. The victim does not need to click on links in the email or perform any actions on the email itself; simply continue to use the admin panel after viewing the email.”

📢All the information is generated and filtered by artificial intelligence:

https://t.me/xakep_one


Report Page