UNIFIED SOC INCIDENT RESPONSE BLUEPRINT
ONLYOFFICE Docs: How to Detect & Patch Container Root Flaws
Rapid7 discovers 5 vulnerabilities in ONLYOFFICE Docs chaining view-only access to container root execution. Apply Document Server 10.0 and hunt container escapes.
Detection & Hunting Detectors (2)
[T1021] ONLYOFFICE Container Internal Network SweepStandalone Rule
DeviceNetworkEvents
| where Timestamp >= ago(7d)
| where InitiatingProcessFileName in~ ("docservice", "node", "x2t")
| where RemoteIP == "169.254.169.254" or RemotePort in (445, 3306, 5432, 6379)
| summarize ConnectionCount = count() by DeviceName, InitiatingProcessFileName, RemoteIP, bin(Timestamp, 30m)
| where ConnectionCount > 3[T1059.006] ONLYOFFICE Document Server Spawning ShellStandalone Rule
DeviceProcessEvents
| where Timestamp >= ago(7d)
| where InitiatingProcessFileName in~ ("docservice", "node", "x2t")
| where InitiatingProcessCommandLine has "onlyoffice"
| where FileName in~ ("sh", "bash", "id", "whoami")
| project Timestamp, DeviceName, InitiatingProcessCommandLine, FileName, ProcessCommandLineVerified Indicators of Compromise (3)
Indicators of Compromise (IOCs)
3 Identified
FILE PATH
/etc/onlyoffice/documentserver/local.jsonPOC EXPLOIT TOOL
pocs/wopi_docbuilder_jwt_forgery.pyURL
POST /docbuilder