CVE-2018-9846
What it is
In Roundcube from versions 1.2.0 to 1.3.5, with the archive plugin enabled and configured, it's possible to exploit the unsanitized, user-controlled "_uid" parameter (in an archive.php _task=mail&_mbox=INBOX&_action=plugin.move2archive request) to perform an MX (IMAP) injection attack by placing an IMAP command after a %0d%0a sequence. NOTE: this is less easily exploitable in 1.3.4 and later because of a Same Origin Policy protection mechanism.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Roundcube Webmail ≤ 1.3.5
- Debian Linux 9.0
Attack profile CVSS 3.0 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-9846.md and follow it. Check whether this project is affected by CVE-2018-9846. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/roundcube/roundcubemail/issues/6229
- https://github.com/roundcube/roundcubemail/issues/6238
- https://github.com/roundcube/roundcubemail/issues/6229
- https://github.com/roundcube/roundcubemail/issues/6238
References
- https://github.com/roundcube/roundcubemail/issues/6229
- https://github.com/roundcube/roundcubemail/issues/6238
- https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a
- https://www.debian.org/security/2018/dsa-4181
- https://github.com/roundcube/roundcubemail/issues/6229
- https://github.com/roundcube/roundcubemail/issues/6238
- https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a
- https://www.debian.org/security/2018/dsa-4181