CVE Catalog

CVE-2024-21527

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.57%

43th percentile - higher than 43% of all known CVEs

Summary

SSRF vulnerability in Gotenberg before version 8.1.0 allows local file inclusion via the /convert/html endpoint. An attacker can use an iframe pointing to localhost, e.g., <iframe src="\\localhost/etc/passwd">, leading to reading sensitive system files.

Risk Assessment

The organization is at risk of confidential data leakage, such as configuration files, passwords, or keys stored on the server. An attacker can access system files without authorization.

Recommendation

Immediately update Gotenberg to version 8.1.0 or later. As a temporary workaround, configure the --chromium-deny-list and --chromium-allow-list flags to restrict access to local resources.

Other vulnerabilities in Gotenberg

See all
Original NVD description (English source)

Versions of the package github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/chromium before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/webhook before 8.1.0 are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when a request is made to a file via localhost, such as <iframe src="\\localhost/etc/passwd">. By exploiting this vulnerability, an attacker can achieve local file inclusion, allowing of sensitive files read on the host system. Workaround An alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS