Skip to main content
← All vulnerabilities
CVE-2022-24837

Enumerable upload file names in hedgedoc

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor. Images uploaded with HedgeDoc version 1.9.1 and later have an enumerable filename after the upload, resulting in potential information leakage of uploaded documents. This is especially relevant for private notes and affects all upload backends, except Lutim and imgur. This issue is patched in version 1.9.3 by replacing the filename generation with UUIDv4. If you cannot upgrade to HedgeDoc 1.9.3, it is possible to block POST requests to `/uploadimage`, which will disable future uploads.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • hedgedoc hedgedoc

    From 1.9.1 · fixed in 1.9.3

References 3

GitHub · hedgedoc/hedgedoc

GitHub · node-formidable/formidable