#VU49283 Template Injection in gotenberg


Published: 2021-01-06

Vulnerability identifier: #VU49283

Vulnerability risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-13449

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
gotenberg
Web applications / Other software

Vendor: thecodingmachine

Description

The vulnerability allows a remote attacker to read contents of arbitrary files on the system.

The vulnerability exists due to improper input validation when converting data into PDF format via "/convert/markdown" URL. A remote attacker can pass specially crafted file and read contents of arbitrary files on the system via PDF output.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

gotenberg: 3.0.0 - 6.2.1


External links
http://seclists.org/fulldisclosure/2021/Jan/0
http://medium.com/bugbountywriteup/0-day-bug-breaks-multi-million-dollar-system-38c9e31b27e9


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability