Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a mail header injection vulnerability. rcmail_sendmail stripped newline characte...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12roundcube |
< 1.6.5+dfsg-1+deb12u13→ 1.6.5+dfsg-1+deb12u13 |
1.6.5+dfsg-1+deb12u13 |
| Debian:13roundcube |
< 1.6.20+dfsg-0+deb13u1→ 1.6.20+dfsg-0+deb13u1 |
1.6.20+dfsg-0+deb13u1 |
| Debian:14roundcube |
< 1.6.20+dfsg-1→ 1.6.20+dfsg-1 |
1.6.20+dfsg-1 |
Original description The description as published by the source.
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a mail header injection vulnerability. rcmail_sendmail stripped newline characters only from the Subject and Organization headers, leaving other header values taken from request parameters unsanitized, so a remote authenticated attacker could inject arbitrary headers into an outgoing message via the References, In-Reply-To, Message-ID and From parameters. Upstream fixed this in the commit “Fix mail header injection via References/In-Reply-To/Message-ID/From parameters”, which normalizes whitespace in every string header value.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org