Advisories

Haraka before 3.4.2 Authentication-Results Header Injection via SMTP AUTH Username

Go back
Severity
medium
Date
Affecting
  • Haraka < 3.4.2

CWE
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec), Matt Simerson
Description
Haraka before 3.4.2 contains a header injection vulnerability in plugins/auth/auth_base.js check_user() that writes failed SMTP AUTH usernames into Authentication-Results. Unauthenticated SMTP clients can inject clauses like dkim=pass, spf=pass and dmarc=pass under the server's authserv-id, spoofing authentication results for every later message in the session.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.