Detect Zimbra Collaboration Suite SSRF Exploitation (CVE-2020-7796) in Sumo Logic CSE
Detects exploitation attempts targeting CVE-2020-7796, a Server-Side Request Forgery (SSRF) vulnerability in Synacor Zimbra Collaboration Suite (ZCS). This vulnerability allows unauthenticated remote attackers to make the Zimbra server issue arbitrary HTTP requests to internal or external resources, potentially enabling internal network scanning, credential theft, or pivoting to internal services.
MITRE ATT&CK
Sumo Detection Query
_sourceCategory=web/zimbra OR _sourceCategory=iis OR _sourceCategory=nginx
| where (%"cs-uri-stem" matches "/service/proxy*" OR %"cs-uri-stem" matches "/zimlet/*" OR url matches "/service/proxy*" OR url matches "/zimlet/*")
| where (%"cs-uri-query" matches "*target=http*" OR %"cs-uri-query" matches "*host=http*" OR %"cs-uri-query" matches "*url=http*" OR query matches "*target=http*" OR query matches "*url=http*")
| parse regex "(?i)(?:target|host|url|backend|redirect)=(?<ssrf_target>[^&\s]+)"
| where ssrf_target matches "*169.254.*" OR ssrf_target matches "*127.0.0.1*" OR ssrf_target matches "*localhost*" OR ssrf_target matches "*10.*" OR ssrf_target matches "*192.168.*" OR ssrf_target matches "*metadata*"
| eval target_class = if(ssrf_target matches "*169.254.169.254*", "metadata-service", if(ssrf_target matches "*127.0.0.1*" OR ssrf_target matches "*localhost*", "loopback", "internal-network"))
| count by _sourceHost, src_ip, ssrf_target, target_class
| sort by _count desc Sumo Logic query to identify Zimbra SSRF exploitation by parsing web access logs for requests to vulnerable Zimbra endpoints containing internal or metadata service targets.
Data Sources
Required Tables
False Positives & Tuning
- Zimbra server-to-server proxy requests for legitimate collaboration features
- Automated monitoring or backup solutions accessing Zimbra proxy endpoints
- Penetration testing or red team engagements with prior authorization
Other platforms for CVE-2020-7796
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Zimbra SSRF via /service/proxy to Internal Metadata Service
Expected signal: HTTP GET request to /service/proxy with target parameter set to 169.254.169.254 visible in Zimbra access logs; outbound network connection from Zimbra server to 169.254.169.254:80 visible in network flow data
- Test 2Zimbra SSRF Internal Port Scan via /service/proxy
Expected signal: Multiple sequential requests to /service/proxy with varying port numbers in the target parameter; outbound connections from Zimbra host to internal IP across multiple ports within a short time window
- Test 3Zimbra SSRF to Internal Admin Interface via /zimlet/ Endpoint
Expected signal: HTTP GET to /zimlet/ endpoint with backend parameter containing 127.0.0.1 and internal admin port 7071; loopback connection attempt from Zimbra process visible in netstat/ss output or network telemetry
- Test 4Zimbra SSRF Credential Harvest via AWS EC2 Metadata
Expected signal: Two sequential requests to /service/proxy with IMDSv1 paths in target parameter; successful 200 response containing JSON with AccessKeyId, SecretAccessKey, and Token fields if running on AWS EC2 without IMDSv2 enforcement
Unlock Pro Content
Get the full detection package for CVE-2020-7796 including response playbook, investigation guide, and atomic red team tests.