{"id":"CVE-2020-12846","details":"Zimbra before 8.8.15 Patch 10 and 9.x before 9.0.0 Patch 3 allows remote code execution via an avatar file. There is potential abuse of /service/upload servlet in the webmail subsystem. A user can upload executable files (exe,sh,bat,jar) in the Contact section of the mailbox as an avatar image for a contact. A user will receive a \"Corrupt File\" error, but the file is still uploaded and stored locally in /opt/zimbra/data/tmp/upload/, leaving it open to possible remote execution.","modified":"2026-09-14T08:12:52.861439Z","published":"2020-06-03T17:15:24.793Z","references":[{"type":"ADVISORY","url":"https://wiki.zimbra.com/wiki/Security_Center"},{"type":"ADVISORY","url":"https://wiki.zimbra.com/wiki/Zimbra_Releases/9.0.0/P3"},{"type":"ADVISORY","url":"https://wiki.zimbra.com/wiki/Zimbra_Security_Advisories"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zimbra/zm-build","events":[{"introduced":"0"},{"fixed":"ac6081fa002b1511e926aba37740d2b6c20f3f43"},{"introduced":"ac6081fa002b1511e926aba37740d2b6c20f3f43"},{"last_affected":"5561a39cba0898c3bb5e188284d98f498d7a3c9a"}],"database_specific":{"cpe":["cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p1:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p3:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p5:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:p1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"8.8.15"},{"introduced":"8.8.15-NA"},{"last_affected":"8.8.15-NA"},{"introduced":"8.8.15-p1"},{"last_affected":"8.8.15-p1"},{"introduced":"8.8.15-p3"},{"last_affected":"8.8.15-p3"},{"introduced":"8.8.15-p5"},{"last_affected":"8.8.15-p5"},{"introduced":"9.0.0-NA"},{"last_affected":"9.0.0-NA"},{"introduced":"9.0.0-p1"},{"last_affected":"9.0.0-p1"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["8.8.15-NA","8.8.15-p1","8.8.15-p3","8.8.15-p5","9.0.0-NA","9.0.0-p1","9.0.0","9.0.0.p19","9.0.0.p7.1","9.0.0.p7","9.0.0.p4","8.8.12","8.8.10","8.8.9.p3","8.8.9.p1","8.8.9","8.8.8","8.7.11","8.8.7","8.8.6","8.8.4","8.8.3","8.8.2","8.8.0.beta1","8.7.10","8.7.9","8.7.7","8.7.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12846.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/zimbra/zm-mailbox","events":[{"introduced":"0"},{"fixed":"d30e647f21ecef5490f21facf2e06e228b44a36e"},{"introduced":"d30e647f21ecef5490f21facf2e06e228b44a36e"},{"last_affected":"dbe58ce9fb59913993aa2d7a5f2c28a292ee4a86"}],"database_specific":{"cpe":["cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p1:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p2:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p3:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p4:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p5:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p6:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p7:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p8:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p9:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:p1:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:p2:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"8.8.15"},{"introduced":"8.8.15-NA"},{"last_affected":"8.8.15-NA"},{"introduced":"8.8.15-p1"},{"last_affected":"8.8.15-p1"},{"introduced":"8.8.15-p2"},{"last_affected":"8.8.15-p2"},{"introduced":"8.8.15-p3"},{"last_affected":"8.8.15-p3"},{"introduced":"8.8.15-p4"},{"last_affected":"8.8.15-p4"},{"introduced":"8.8.15-p5"},{"last_affected":"8.8.15-p5"},{"introduced":"8.8.15-p6"},{"last_affected":"8.8.15-p6"},{"introduced":"8.8.15-p7"},{"last_affected":"8.8.15-p7"},{"introduced":"8.8.15-p8"},{"last_affected":"8.8.15-p8"},{"introduced":"8.8.15-p9"},{"last_affected":"8.8.15-p9"},{"introduced":"9.0.0-NA"},{"last_affected":"9.0.0-NA"},{"introduced":"9.0.0-p1"},{"last_affected":"9.0.0-p1"},{"introduced":"9.0.0-p2"},{"last_affected":"9.0.0-p2"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["8.8.15-NA","8.8.15-p1","8.8.15-p2","8.8.15-p3","8.8.15-p4","8.8.15-p5","8.8.15-p6","8.8.15-p7","8.8.15-p8","8.8.15-p9","9.0.0-NA","9.0.0-p1","9.0.0-p2","9.0.0","8.8.8","9.0.0.p2","9.0.0.p1","8.8.12","8.8.10","8.8.9","8.8.7","8.8.6","8.8.5","8.8.4","8.8.3","8.8.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12846.json","vanir_signatures_modified":"2026-09-14T08:12:52Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/zimbra/zm-mailbox/commit/d30e647f21ecef5490f21facf2e06e228b44a36e","target":{"file":"store/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java","function":"updateLastLogon"},"deprecated":false,"digest":{"function_hash":"130804680382483964301386928646396783356","length":461},"id":"CVE-2020-12846-4314dc38","signature_type":"Function"},{"digest":{"line_hashes":["35532726304441886843822597725517922529","86869606749296562789619135716824747966","329209388892522800440224682947664957145","301198994465565842404478996247629867721","249110717571679374632676844697594286961","165150619554600532748713227738510509377","135793442757343879754509969633552703576","99023990949396355242231588957425096724"],"threshold":0.9},"id":"CVE-2020-12846-96c6e311","signature_type":"Line","signature_version":"v1","source":"https://github.com/zimbra/zm-mailbox/commit/d30e647f21ecef5490f21facf2e06e228b44a36e","target":{"file":"store/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java"},"deprecated":false}]}},{"ranges":[{"type":"GIT","repo":"https://github.com/zimbra/zm-zcs","events":[{"introduced":"0"},{"fixed":"6c72db05e6f1b89c511ba5c08ec4b6399bec7bb6"},{"introduced":"6c72db05e6f1b89c511ba5c08ec4b6399bec7bb6"},{"last_affected":"7cf503e14f689f39bad171475fb4e151bfcc22ee"}],"database_specific":{"cpe":["cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p6:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"8.8.15"},{"introduced":"8.8.15-NA"},{"last_affected":"8.8.15-NA"},{"introduced":"8.8.15-p6"},{"last_affected":"8.8.15-p6"},{"introduced":"9.0.0-NA"},{"last_affected":"9.0.0-NA"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["8.8.15-NA","8.8.15-p6","9.0.0-NA","9.0.0","8.8.15","8.8.12","8.8.11","8.8.10","8.8.9","8.8.8","8.7.11","8.8.7","8.8.6","8.8.5","8.8.4","8.8.3","8.8.2","8.8.0beta2","8.8.0.beta1","8.7.10","8.7.9","8.7.7","8.7.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12846.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/zimbra/zm-zcs-lib","events":[{"introduced":"0"},{"fixed":"41db44a222b547dcc89ab50273cb8684195c09c2"},{"introduced":"41db44a222b547dcc89ab50273cb8684195c09c2"},{"last_affected":"08274721e99c2522952c640cd42e4d0cf676d432"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"8.8.15"},{"introduced":"8.8.15-NA"},{"last_affected":"8.8.15-NA"},{"introduced":"8.8.15-p3"},{"last_affected":"8.8.15-p3"},{"introduced":"8.8.15-p5"},{"last_affected":"8.8.15-p5"},{"introduced":"9.0.0-NA"},{"last_affected":"9.0.0-NA"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:-:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p3:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:8.8.15:p5:*:*:*:*:*:*","cpe:2.3:a:synacor:zimbra_collaboration_suite:9.0.0:-:*:*:*:*:*:*"]}}],"versions":["8.8.15-NA","8.8.15-p3","8.8.15-p5","9.0.0-NA","9.0.0","8.8.12","8.8.11","8.8.10","8.8.9","8.8.8","8.7.11","8.8.7","8.8.6","8.8.5","8.8.4","8.8.3","8.8.2","8.8.0.beta1","8.7.10","8.7.9","8.7.7","8.7.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12846.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}