Cloudanix VulnDB

CVE-2023-52354

High · 7.5

CVSS

7.5

EPSS

0.5%

Published

Jan 22, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in email server software could let attackers sneak in fake commands to send misleading emails.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Tampering
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

The vulnerability permits SMTP command smuggling by accepting lines terminated only with LF (line feed) characters rather than the required CRLF sequence, allowing injection of unauthorized SMTP commands.

Why it matters to the business

Attackers could bypass email security controls, leading to spoofed emails or unauthorized message delivery that undermines trust in email communications.

How an attack unfolds

An attacker connects to the SMTP server and sends commands using LF line endings to smuggle additional commands after the initial message, potentially altering the email flow without proper validation.

How to fix it

Update chasquid to version 1.13 or later. For affected deployments, apply the fix from commit e45fcf30b579a9a2a03bbbb35efb96556f1ad426.

How to confirm the fix worked

Verify the chasquid version is at least 1.13 and test SMTP transactions to ensure only CRLF-terminated lines are accepted.

Typical attack path

  1. Establish SMTP connection to the vulnerable server
  2. Transmit message data using LF-terminated lines containing smuggled SMTP commands
  3. Complete the transaction to execute the injected commands on the server

How to detect it

Examine SMTP server logs for lines ending with LF instead of CRLF and look for unexpected command sequences in email transactions.

What your security team should do

  • Prioritize updating affected software to the fixed versions immediately
  • Monitor SMTP traffic for anomalies in line termination
  • Review and harden input validation on email servers

The record

chasquid before 1.13 allows SMTP smuggling because LF-terminated lines are accepted.

Affected packages

Ecosystem Package Introduced Fixed
Go blitiri.com.ar/go/chasquid 0 1.13.0
Go github.com/albertito/chasquid 0 1.13
Debian:11 chasquid 0 No fix
Debian:12 chasquid 0 No fix
Debian:13 chasquid 0 1.13-1
Debian:14 chasquid 0 1.13-1
Ubuntu:18.04:LTS chasquid 0 No fix
Ubuntu:20.04:LTS chasquid 0 No fix
Ubuntu:22.04:LTS chasquid 0 No fix
Ubuntu:24.04:LTS chasquid 0 1.13-1
Ubuntu:24.10 chasquid 0 1.13-1
Ubuntu:Pro:18.04:LTS chasquid 0 No fix
Ubuntu:Pro:20.04:LTS chasquid 0 No fix
Ubuntu:Pro:22.04:LTS chasquid 0 No fix

Related vulnerabilities