SSRF in Github.com/gotenberg/gotenberg/v8/pkg/gotenberg
CVE-2024-21527
- CVSS v3
- 8.2 High
- Public exploits
- None known
- EPSS
- 0.006 · 48.3th percentile
- Published
- 2024-07-19
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 class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 48.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/gotenberg/gotenberg/v8/pkg/gotenberg — versions 0
- Github.com/gotenberg/gotenberg/v8/pkg/modules/chromium — versions 0
- Github.com/gotenberg/gotenberg/v8/pkg/modules/webhook — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-753…
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMI…
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOO…
- github.com/gotenberg/gotenberg/releases/tag/v8.1.0
- github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794
- gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356