{"schemaVersion":3,"id":"CVE-2018-9846","aliases":["MGASA-2018-0288","UBUNTU-CVE-2018-9846","DEBIAN-CVE-2018-9846","DSA-4181-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-04-07T21:00:00.000Z","modified":"2024-08-05T07:24:56.298Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02283,"percentile":0.82912,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.0899999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02193},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02235,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02235,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02203,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02283,"percentile":0.82912}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02203,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02283,"percentile":0.82912}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"roundcube","name":"roundcube","label":"roundcube","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/roundcube","purlType":"deb","versions":[{"text":"< 1.2.3+dfsg.1-4+deb9u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.3.6+dfsg.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.3+dfsg.1-4+deb9u2 | < 1.3.6+dfsg.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"roundcube","name":"roundcube","label":"roundcube","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/roundcube","purlType":"deb","versions":[{"text":"< 1.2~beta+dfsg.1-0ubuntu1+esm7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2~beta+dfsg.1-0ubuntu1+esm7","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"roundcubemail","name":"roundcubemail","label":"roundcubemail","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/roundcubemail","purlType":"rpm","versions":[{"text":"< 1.3.6-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.6-1.1.mga6","eol":null,"hubHref":null},{"vendor":"roundcube","product":"webmail","name":"Webmail","label":"webmail","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2.0, ≤ 1.3.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2.0, ≤ 1.3.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"roundcube","label":"Roundcube Webmail","category":"server-app"}},"hubHref":"/vendor/roundcube/webmail"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/roundcube/roundcubemail/issues/6238","label":"github.com/roundcube/roundcubemail/issues/6238","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4181","label":"www.debian.org/security/2018/dsa-4181","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://github.com/roundcube/roundcubemail/issues/6229","label":"github.com/roundcube/roundcubemail/issues/6229","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a","label":"medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a","hostname":"medium.com","tags":["X Refsource MISC"]},{"url":"https://advisories.mageia.org/MGASA-2018-0288.html","label":"advisories.mageia.org/MGASA-2018-0288.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22941","label":"bugs.mageia.org/show_bug.cgi?id=22941","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/Z5Z2OC2XYT33AXQAC6NBFEM5PJNFVZRR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-9846","label":"ubuntu.com/security/CVE-2018-9846","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/roundcube/roundcubemail/commit/e3dd5b66d236867572e68fcb80281e9268a0cfb0","label":"github.com/roundcube/roundcubemail/commit/e3dd5b66d236867572e68fcb80281e9268a0cfb0","hostname":"github.com","tags":["REPORT"]},{"url":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a","label":"medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a","hostname":"medium.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-9846","label":"www.cve.org/CVERecord?id=CVE-2018-9846","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8132-1","label":"ubuntu.com/security/notices/USN-8132-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-9846","label":"security-tracker.debian.org/tracker/CVE-2018-9846","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11303-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11303-1","USN-8132-1"]},"timeline":[{"kind":"published","date":"2018-04-07T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:24:56.298Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:56:10.242Z","stale":false,"partial":false}}