GHSA-RJC4-J36J-GJJC
TLS Client Private Key Exposure via Data Source Read
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RJC4-J36J-GJJC divulgada · CVSS 7.7 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Reading a base's data source returned the source's decrypted connection configuration through a mask that redacted only the connection password, leaving the external database's TLS client-certificate private key in the response.
Details
The source read handler in `sources.controller.ts` calls into `sources.service.ts` for the fully decrypted connection config and then sanitizes it with the single helper in `responseHelpers.ts`, which nulled `connection.password` and nothing else. For a source configured with TLS client-certificate authentication, the same connection object also carries the CA certificate, the client certificate and the client private key — stored inline, encrypted at rest, and decrypted on this path — and all three were returned verbatim. Every sibling exit for a source record (list, update, delete, and the socket broadcast) drops the configuration entirely; the one path that is meant to return it relied on a single-field mask. The read permission for that route is granted to the base Viewer role, while reading the equivalent workspace integration credential requires a workspace Creator.
Impact
A read-only member of a base obtained the TLS client-certificate private key, client certificate and CA for the base's external database, alongside its host and username. Where the backing database accepts client-certificate authentication, that material is sufficient to open a direct, authenticated connection to it, bypassing every NocoDB view, row and column permission the viewer is subject to. Authentication as a base Viewer — the lowest role with base access — is required.
Credit
This issue was reported by @CoryRoo https://github.com/CoryRoo.
Desglose de métricas
Estado del parche por paquete
La fuente no informa paquetes ni versiones corregidas.
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/nocodb/nocodb/security/advisories/GHSA-rjc4-j36j-gjjcLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
