← volver
CVE-2022-31014

SMTP Command Injection in iCalendar Attachments to emails via newlines in Nextcloud Server

CVSS 5.4 MEDIUMEPSS 2.4%CWE-74CWE-93
En resumen

Nextcloud Server permite que atacantes inyecten comandos SMTP maliciosos a través de anexos iCalendar en correos usando caracteres de salto de línea. Esto podría permitir el envío de correos no autorizados o la modificación de encabezados tras autenticarse.

Detalle técnico

Vulnerabilidad de inyección de comando SMTP en Nextcloud Server causada por falta de sanitización de saltos de línea en anexos iCalendar. Un atacante autenticado puede inyectar comandos SMTP arbitrarios en el contenido de correos, secuestrando potencialmente sesiones SMTP para enviar mensajes, falsificar remitentes o ejecutar otros comandos soportados por el servidor SMTP. Se recomienda actualizar a las versiones 22.2.8, 23.0.5 o 24.0.1.

Resumen generado y traducido por IA a partir de la descripción oficial.
Nextcloud server is an open source personal cloud server. Affected versions were found to be vulnerable to SMTP command injection. The impact varies based on which commands are supported by the backend SMTP server. However, the main risk here is that the attacker can then hijack an already-authenticated SMTP session and run arbitrary SMTP commands as the email user, such as sending emails to other users, changing the FROM user, and so on. As before, this depends on the configuration of the server itself, but newlines should be sanitized to mitigate such arbitrary SMTP command injection. It is recommended that the Nextcloud Server is upgraded to 22.2.8 , 23.0.5 or 24.0.1. There are no known workarounds for this issue.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →