<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Webmail (&lt; 1.6.20, 1.7.x &lt; 1.7.5) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/webmail--1.6.20-1.7.x--1.7.5/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 20 Oct 2026 06:34:38 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/webmail--1.6.20-1.7.x--1.7.5/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>IMAP Command Injection in Roundcube Webmail</title><link>https://feed.craftedsignal.io/briefs/2026-10-roundcube-imap-injection/</link><pubDate>Tue, 20 Oct 2026 06:34:38 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-roundcube-imap-injection/</guid><description>Roundcube Webmail versions prior to 1.6.20 and 1.7.5 are vulnerable to IMAP command injection via CRLF sequences in the _uid parameter, allowing authenticated remote attackers to execute arbitrary IMAP commands.</description><content:encoded><![CDATA[<p>Roundcube Webmail versions before 1.6.20 and 1.7.x before 1.7.5 contain a vulnerability that permits IMAP command injection. This issue occurs due to improper sanitization of user-supplied input within the _uid parameter when processed by the application's mail/headers and mail/viewsource actions. A remote authenticated attacker can leverage this flaw by injecting Carriage Return Line Feed (CRLF) sequences into the targeted parameter.</p>
<p>Successful exploitation allows the attacker to bypass application logic and send arbitrary commands to the IMAP server associated with the webmail instance. This may lead to unauthorized access to email data, manipulation of mailbox structures, or potential exposure of sensitive information stored on the backend mail server. Security teams should prioritize patching affected instances to the specified secure versions to mitigate this risk.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains authenticated access to a vulnerable Roundcube Webmail instance.</li>
<li>The attacker identifies the mail/headers or mail/viewsource actions as endpoints that process the _uid parameter.</li>
<li>The attacker crafts an HTTP request targeting one of these actions.</li>
<li>The attacker injects malicious CRLF sequences into the _uid parameter string.</li>
<li>The application fails to sanitize the input, passing the injected payload to the backend IMAP communication layer.</li>
<li>The IMAP server interprets the injected CRLF sequences, executing the attacker-supplied IMAP commands in the context of the user's session.</li>
<li>The attacker exfiltrates or manipulates mailbox data through the unauthorized IMAP operations.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The vulnerability allows an authenticated attacker to execute arbitrary commands against the backend IMAP server. This can result in unauthorized access to private emails, modification of mailbox contents, and a breach of data confidentiality for users within the organization. While this requires authentication, the impact is severe for multi-user email environments where an attacker might compromise one account to gain unauthorized access to mail data or perform lateral movement within the mail infrastructure.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch Roundcube Webmail to version 1.6.20 or 1.7.5 or later immediately.</li>
<li>Monitor web server access logs for anomalous HTTP requests to the mail/headers and mail/viewsource endpoints containing CRLF characters or abnormal IMAP command syntax in the _uid parameter.</li>
<li>Review web application firewall (WAF) logs for blocked requests attempting to inject line-breaking characters into URL query parameters.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>web-vulnerability</category><category>imap</category><category>injection</category></item></channel></rss>