PT-2020-16404

CVE-2020-26286

·

Published

2020-12-28

·

Updated

2020-12-30

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions HedgeDoc versions prior to 1.7.1
Description The issue allows an unauthenticated attacker to upload arbitrary files, including HTML, JS, and PHP files, to the upload storage backend. This can lead to potential security risks as uploaded files might still be served. It is recommended to verify that the uploaded file storage only contains allowed files.
Recommendations For versions prior to 1.7.1, update to version 1.7.1 to resolve the issue. As a temporary workaround, consider blocking the "/uploadimage" endpoint on your instance using your reverse proxy. Restrict MIME-types and file names served from your upload file storage to minimize the risk of exploitation.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-WCR3-XHV7-8GXC
Found an issue in the description? Have something to add? Feel free to write us 👾