9.4critical
RansomLook API Key Disclosure Through /admin/apikeys HTML Source
- Severity
- 9.4critical CVSS:4.0 by CIRCL
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CIRCL
Description
RansomLook exposed complete API keys in the HTML source of the authenticated /admin/apikeys administration page. Although the interface displayed only a shortened representation of each key, the full token was embedded in hidden form fields used by the enable/disable, private-access, and delete actions. As a result, API credentials could be recovered by inspecting the page source or DOM. The credentials could also be unintentionally exposed through components that retain or inspect HTTP response bodies, such as debugging proxies, browser caches, monitoring systems, or other intermediaries. An attacker obtaining one of these tokens could subsequently authenticate using the privileges assigned to that key, including access to private data where the key was granted such permissions. The patch removes API keys from subsequent page rendering and replaces them with SHA-256-derived opaque handles. Administrative actions submit only these handles, which are resolved back to the corresponding token on the server. The full API key is therefore disclosed only once, when it is initially created.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ransomlook ransomlook | up to 2.0.0 | CVE List |
Classification
What each source says
CVE List
RansomLook exposed complete API keys in the HTML source of the authenticated /admin/apikeys administration page. Although the interface displayed only a shortened representation of each key, the full token was embedded in hidden form fields used by the enable/disable, private-access, and delete actions. As a result, API credentials could be recovered by inspecting the page source or DOM. The credentials could also be unintentionally exposed through components that retain or inspect HTTP response bodies, such as debugging proxies, browser caches, monitoring systems, or other intermediaries. An attacker obtaining one of these tokens could subsequently authenticate using the privileges assigned to that key, including access to private data where the key was granted such permissions. The patch removes API keys from subsequent page rendering and replaces them with SHA-256-derived opaque handles. Administrative actions submit only these handles, which are resolved back to the corresponding token on the server. The full API key is therefore disclosed only once, when it is initially created.
NVD (es)
RansomLook expuso claves API completas en el código fuente HTML de la página de administración autenticada /admin/apikeys. Aunque la interfaz mostraba solo una representación abreviada de cada clave, el token completo estaba incrustado en campos de formulario ocultos utilizados por las acciones de habilitar/deshabilitar, acceso privado y eliminar. Como resultado, las credenciales de la API podían recuperarse inspeccionando el código fuente de la página o el DOM. Las credenciales también podían exponerse involuntariamente a través de componentes que retienen o inspeccionan los cuerpos de respuesta HTTP, como proxies de depuración, cachés del navegador, sistemas de monitoreo u otros intermediarios. Un atacante que obtuviera uno de estos tokens podría autenticarse posteriormente utilizando los privilegios asignados a esa clave, incluyendo el acceso a datos privados donde a la clave se le habían otorgado dichos permisos. El parche elimina las claves API de la renderización de páginas subsiguientes y las reemplaza con identificadores opacos derivados de SHA-256. Las acciones administrativas envían solo estos identificadores, los cuales se resuelven de nuevo al token correspondiente en el servidor. La clave API completa se divulga, por lo tanto, solo una vez, cuando se crea inicialmente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78555 changed 2026-08-24 | CVE Terms of Use |
| NVD | CVE-2026-78555 changed 2026-10-12 | Public domain |