PT-2021-19619 · Onlyoffice · Onlyoffice Document Server
Published
2021-01-22
·
Updated
2022-04-15
·
CVE-2021-3199
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
ONLYOFFICE Document Server versions prior to 5.6.3
Description:
The issue allows directory traversal with remote code execution in the /upload endpoint of ONLYOFFICE Document Server when JWT is used. This can be achieved by including a /.. sequence in an image upload parameter, specifically in the
image upload parameter.Recommendations:
For versions prior to 5.6.3, update to version 5.6.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the /upload endpoint or disabling the use of JWT until the update can be applied. Avoid using the vulnerable image upload parameter in the /upload endpoint until the issue is resolved.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Onlyoffice Document Server