#VU52830 Path traversal in HedgeDoc - CVE-2021-29474


Vulnerability identifier: #VU52830

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-29474

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
HedgeDoc
Client/Desktop applications / Other client software

Vendor: HedgeDoc

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read arbitrary .md files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

HedgeDoc: 0.3.3 - 1.7.2


External links
https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-p528-555r-pf87


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability