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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release Notes Third Party Advisory | 
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory | 
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory | 
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release Notes Third Party Advisory | 
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory | 
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory | 
Configurations
                    History
                    21 Nov 2024, 06:21
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 - Release Notes, Third Party Advisory | |
| References | () https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py - Exploit, Third Party Advisory | |
| References | () https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py - Exploit, Third Party Advisory | 
15 Apr 2022, 16:25
| Type | Values Removed | Values Added | 
|---|---|---|
| References | (MISC) https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py - Exploit, Third Party Advisory | 
21 Mar 2022, 21:15
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | 
Information
                Published : 2021-01-26 18:16
Updated : 2024-11-21 06:21
NVD link : CVE-2021-3199
Mitre link : CVE-2021-3199
CVE.ORG link : CVE-2021-3199
JSON object : View
Products Affected
                onlyoffice
- document_server
CWE
                
                    
                        
                        CWE-22
                        
            Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
