Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2021-29474
hedgedoc

Puan5.8 Orta
CVSS 3.1
İstismar olasılığı (EPSS)1.6%
önümüzdeki 30 gün içinde
KategoriYetki atlatma ve erişim denetimi
Yayımlanma26 Nisan 2021
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Etkisi sınırlı: gizli bilgilerin okunması.

Etki, açığın bulunduğu bileşenin dışındaki sistemlere de yayılabilir.

Açık türü: Hatalı girdi doğrulama.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. An attacker can read arbitrary `.md` files from the server's filesystem due to an improper input validation, which results in the ability to perform a relative path traversal. To verify if you are affected, you can try to open the following URL: `http://localhost:3000/..%2F..%2FREADME#` (replace `http://localhost:3000` with your instance's base-URL e.g. `https://demo.hedgedoc.org/..%2F..%2FREADME#`). If you see a README page being rendered, you run an affected version. The attack works due the fact that the internal router passes the url-encoded alias to the `noteController.showNote`-function. This function passes the input directly to findNote() utility function, that will pass it on the the parseNoteId()-function, that tries to make sense out of the noteId/alias and check if a note already exists and if so, if a corresponding file on disk was updated. If no note exists the note creation-function is called, which pass this unvalidated alias, with a `.md` appended, into a path.join()-function which is read from the filesystem in the follow up routine and provides the pre-filled content of the new note. This allows an attacker to not only read arbitrary `.md` files from the filesystem, but also observes changes to them. The usefulness of this attack can be considered limited, since mainly markdown files are use the file-ending `.md` and all markdown files contained in the hedgedoc project, like the README, are public anyway. If other protections such as a chroot or container or proper file permissions are in place, this attack's usefulness is rather limited. On a reverse-proxy level one can force a URL-decode, which will prevent this attack because the router will not accept such a path.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Açık türü: CWE-20 – Hatalı girdi doğrulama, CWE-22 – Dizin geçişi (path traversal)

Etkilenen ürünler

ÜreticiÜrünSürümler
hedgedochedgedoc<1.8.0

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-56477 Yüksek 8.8
    HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133644 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133734 Orta 6
    Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133729 Orta 6.4
    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133649 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. Struts can restrict an action to a set of HTTP methods through annotations declared either on the action class or on the action method. In Struts 6.9.0 a…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-81060 Yüksek 7.8
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability. A low privileged local attacker…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026