GHSA-5892-3964-GC52
Instance Metadata Disclosure via Aggregated Meta Endpoint
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-5892-3964-GC52 divulgada · CVSS 6.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The aggregated meta info route in `utils.controller.ts` was served behind a rate-limiter guard only, with no authentication guard and no permission check, returning instance-wide metadata and live per-base row counts to anonymous callers.
Details
The route carried `PublicApiLimiterGuard`, whose `canActivate` returns `true` unconditionally, and no `@Acl`. Because NocoDB's authentication cut-off is enforced by the ACL interceptor rather than by the guards on the controller, nothing on the route required an identity.
The handler in `utils.service.ts` enumerates every base on the instance with no tenant filter, counts all registered users at root scope, and reports per-base shared and public view counts, how many of those views are password protected, and webhook counts. It then obtains a SQL client for each configured data source and runs a record count for every table it finds, so the response also carries live row counts for every base. The source carried a standing `TODO` noting the endpoint was unsuitable for multi-tenant deployments.
Impact
No authentication is required. Any remote caller could read the full footprint of the instance across all tenants — base count, total registered users, shared and password-protected share counts, webhook counts, and live per-base row counts — which is direct reconnaissance material for a multi-tenant deployment. Because a single request fans row-count queries out to every configured data source with no cap, cache or pagination, repeated anonymous requests also amplified into query load against every tenant's database. The official Docker image was not affected, as it serves this route from the Enterprise implementation, which returns no data; builds from the public source and the npm package were.
Credit
This issue was reported by @ya3raj https://github.com/ya3raj.
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-5892-3964-gc52Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
