Incorrect default permissions in gotenberg - CVE-2020-13452

 

Incorrect default permissions in gotenberg - CVE-2020-13452

Published: January 6, 2021


Vulnerability identifier: #VU49286
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-13452
CWE-ID: CWE-276
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: thecodingmachine
Affected software:
gotenberg

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to incorrect default permissions for the "/tini" file, which is writable by default by the gotenberg user. A remote attacker can overwrite the file using vulnerability #VU49284 and perform a denial of service attack or execute arbitrary code on the system.


How to mitigate CVE-2020-13452

Install updates from vendor's website.

Sources