PT-2024-31561 · Mariadb+1 · Mariadb+1
Genygo
·
Published
2024-09-02
·
Updated
2024-09-03
·
CVE-2024-45308
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
HedgeDoc versions prior to 1.10.0
Description
HedgeDoc is an open source, real-time, collaborative, markdown notes application. When using HedgeDoc with MySQL or MariaDB, it is possible to create notes with an alias matching the ID of existing notes, effectively hiding the original note. The issue can be exploited by logged-in users or all users, depending on the permission settings, and requires knowledge of the target note's ID. Attackers can use this issue to present a manipulated copy of the original note or prevent access to it, causing a denial of service. No data is lost, as the original content remains in the database.
Recommendations
To resolve the issue, upgrade to version 1.10.0.
If unable to upgrade, disable freeURL mode to prevent exploitation.
Alternatively, restrict freeURL note creation to trusted, logged-in users by enabling
requireFreeURLAuthentication/CMD REQUIRE FREEURL AUTHENTICATION.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mariadb
Mysql Server