llamaCVEVulnerability Intelligence
/
github.com/gotenberg/gotenberg/v8/pkg/gotenberg

CVE-2024-21527

Server-side request forgery (SSRF)

Texto original en inglés · Ver en español

UnclearSin parche publicadoserver-side request forgery (SSRF)
Descargar PNG JSON
CVSS 4.0
8.8
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición855 dDesde la divulgación, 19 jul 2024, 12:00 a. m.
Detección850 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Como dice el refrán: más vale prevenir que restaurar backups.Agéndala y deja de pensar en ella.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche v8.1.0
Monitoreo
Detectada
Verificada
18 feb 24
19 jul 24
23 jul 24
8 jul 26
17 nov 26
18 nov 26
21 nov 26
18 feb 24
27 oct 24
6 jul 25
14 mar 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche v8.1.0 github.com/gotenberg/gotenberg/v8 · -152 d desde divulgación
Divulgación Publicada CVE-2024-21527 divulgada · CVSS 8.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects Gotenberg packages before 8.1.0 when the /convert/html endpoint handles a request that references a file via localhost. Fixed in 8.1.0.

¿Qué significa?A server-side request forgery flaw in the /convert/html endpoint lets a request reference a file via localhost. This allows local file inclusion, which can expose sensitive files on the host system.
¿Quién está afectado?Affected are versions of github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0, and the related pkg/modules/chromium and pkg/modules/webhook packages before 8.1.0. The setup involves requests to /convert/html that reference a file via localhost. To check, look at the gotenberg version required in the Go module file (go.mod).
¿Qué hacer?Upgrade github.com/gotenberg/gotenberg/v8/pkg/gotenberg to version 8.1.0 or higher.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gotenberg packages before 8.1.0 (github.com/gotenberg/gotenberg/v8/pkg/gotenberg).“Affecting github.com/gotenberg/gotenberg/v8/pkg/gotenberg package, versions <8.1.0”
02
A request to the /convert/html endpoint that references a file via localhost.“vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when a request is made to a file via localhost”
¿Quién debe revisar?Teams running the github.com/gotenberg/gotenberg/v8/pkg/gotenberg Go package before 8.1.0, including Gotenberg deployments that serve /convert/html.
MitigaciónUse either or both of the --chromium-deny-list and --chromium-allow-list flags.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:L
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
github.com/gotenberg/gotenberg/v7todas
github.com/gotenberg/gotenberg/v8/pkg/gotenberg · github.com/gotenberg/gotenberg/v8/pkg/modules/chromium · github.com/gotenberg/gotenberg/v8/pkg/modules/webhook · github.com/gotenberg/gotenberg/v8< 8.1.0
v7.10.2
8.1.0
v8.40.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/gotenberg/gotenberg/v7
Sin parche — — v7.10.2 afectada
gogithub.com/gotenberg/gotenberg/v8
Corregida v8.1.0 -152 d v8.40.0 no afectada
Versiones corregidas8.1.0v8.1.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081
Otrahttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082
Otrahttps://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083
Otrahttps://github.com/gotenberg/gotenberg/releases/tag/v8.1.0
Otrahttps://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794
Otrahttps://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.