PoC Monitor
← All CVEs
CVE-2021-3199published 22 Jan 2021 02:41 UTCData: JSON · API

ONLYOFFICE Docs

ONLYOFFICE Docs Server Path Traversal Vulnerability

Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /.. sequence in an image upload parameter.

First public PoC 5.8 yearsafter publication · 2 Nov 2026 · nuclei template
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-22
CISA KEV 8 Oct 20265.7 years after publication

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 yCVE published22 Jan 2021 · t = 0Added to CISA KEV8 Oct 2026 · t+5.7yFirst public PoC2 Nov 2026 · t+5.8y

First public PoC 5.8 years after publication; added to CISA KEV 5.7 years after publication. First PoC: nuclei template: ONLYOFFICE Document Server < 5.6.3 - Path Traversal to Arbitrary File Write (nuclei template, 2 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
moehw/poc_exploits 21 Jan 2021 −10 h 26 PoC older repo: PoC date unknown, not used for the first PoC

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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: ONLYOFFICE Document Server < 5.6.3 - Path Traversal to Arbitrary File Write2 Nov 202617 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /upload/{var}/{var}/{var}

Key headers
Authorization: Bearer {var}
Seen in
1 repo: moehw/poc_exploits
Evidence
moehw/poc_exploits/CVE-2021-3199/poc_uploadImageFile.py:58 moehw/poc_exploits/CVE-2021-3199/poc_uploadImageFile.py:90

Regex

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

POST /upload/{var}/{var}/{var}
(?i)^/upload/[^/?#]*/[^/?#]*/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /upload/{var}/{var}/{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-3199 ONLYOFFICE Docs exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/upload/"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-3199; classtype:web-application-attack; sid:9226130; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /upload/{var}/{var}/{var}
title: ONLYOFFICE Docs exploit attempt (CVE-2021-3199)
id: gg-pocmon-cve-2021-3199-9226130
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3199. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-3199
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/upload/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.3199