CVE-2022-31014: medium-severity vulnerability in nextcloud security-advisories
SMTP Command Injection in iCalendar Attachments to emails via newlines in Nextcloud Server
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Nextcloud Server allows attackers to inject malicious SMTP commands through iCalendar email attachments by using newline characters. This could let them send unauthorized emails or modify email headers after authentication.
SMTP command injection vulnerability in Nextcloud Server via unsanitized newlines in iCalendar attachments. An authenticated attacker can inject arbitrary SMTP commands into email content, potentially hijacking SMTP sessions to send emails, spoof sender addresses, or execute other commands supported by the backend SMTP server. Mitigation requires input sanitization and server upgrade to versions 22.2.8, 23.0.5, or 24.0.1.
In the same product, most dangerous first.