Zimbra Collaboration Suite Email Server Unauthenticated RCE


Description

Detects an attempt to leverage the vulnerable servlet "mboximport" for an unauthenticated remote command injection

Query · sigma

selection_servlet:
  cs-method: POST
  cs-uri-query|contains: /service/extension/backup/mboximport\?
  cs-uri-query|contains|all:
  - account-name
  - ow
  - no-switch
  - append
  sc-status:
  - 401
  - 200
selection_shell:
  cs-uri-query|contains: /zimbraAdmin/
  cs-uri-query|endswith: .jsp
  sc-status|contains: '200'
condition: 1 of selection_*

Known false positives

  • Unknown
Raw source Zimbra Collaboration Suite Email Server Unauthenticated RCE · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Zimbra Collaboration Suite Email Server Unauthenticated RCE
id: dd218fb6-4d02-42dc-85f0-a0a376072efd
status: test
description: Detects an attempt to leverage the vulnerable servlet "mboximport" for an unauthenticated remote command injection
references:
    - https://www.volexity.com/blog/2022/08/10/mass-exploitation-of-unauthenticated-zimbra-rce-cve-2022-27925/
    - https://www.yang99.top/index.php/archives/82/
    - https://github.com/vnhacker1337/CVE-2022-27925-PoC
author: '@gott_cyber'
date: 2022-08-17
modified: 2023-01-02
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2022-27925
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_servlet:
        cs-method: 'POST'
        cs-uri-query|contains: '/service/extension/backup/mboximport\?'
        cs-uri-query|contains|all:
            - 'account-name'
            - 'ow'
            - 'no-switch'
            - 'append'
        sc-status:
            - 401
            - 200
    selection_shell:
        cs-uri-query|contains: '/zimbraAdmin/'
        cs-uri-query|endswith: '.jsp'
        sc-status|contains: '200'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: medium

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.