{"api_version":"1","generated_at":"2026-07-23T10:13:38+00:00","cve":"CVE-2018-9846","urls":{"html":"https://cve.report/CVE-2018-9846","api":"https://cve.report/api/cve/CVE-2018-9846.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-9846","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-9846"},"summary":{"title":"CVE-2018-9846","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-04-07 21:29:00","updated_at":"2023-11-07 03:01:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/roundcube/roundcubemail/issues/6238","name":"https://github.com/roundcube/roundcubemail/issues/6238","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"check_request() bypass in archive plugin · Issue #6238 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a","name":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"CVE-2018–9846: Roundcube 1.2.0–1.3.5 mx injection – Andrea Basile – Medium","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4181","name":"DSA-4181","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4181-1 roundcube","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a","name":"https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a","refsource":"","tags":[],"title":"CVE-2018–9846: Roundcube 1.2.0–1.3.5 mx injection – Andrea Basile – Medium","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/roundcube/roundcubemail/issues/6229","name":"https://github.com/roundcube/roundcubemail/issues/6229","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"MX injection and type juggling vulnerabilities · Issue #6229 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-9846","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9846","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"9846","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"9846","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"9846","vulnerable":"1","versionEndIncluding":"1.3.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"roundcube","cpe5":"webmail","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-9846","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/roundcube/roundcubemail/issues/6238","refsource":"MISC","url":"https://github.com/roundcube/roundcubemail/issues/6238"},{"name":"DSA-4181","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4181"},{"name":"https://github.com/roundcube/roundcubemail/issues/6229","refsource":"MISC","url":"https://github.com/roundcube/roundcubemail/issues/6229"},{"name":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a","refsource":"MISC","url":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a"}]}},"nvd":{"publishedDate":"2018-04-07 21:29:00","lastModifiedDate":"2023-11-07 03:01:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*","versionStartIncluding":"1.2.0","versionEndIncluding":"1.3.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"9846","Ordinal":"126262","Title":"CVE-2018-9846","CVE":"CVE-2018-9846","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"9846","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"9846","Ordinal":"2","NoteData":"2018-04-07","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"9846","Ordinal":"3","NoteData":"2018-04-29","Type":"Other","Title":"Modified"}]}}}