6.9medium
Redis Glob Pattern Injection Allows Unauthorized Enumeration of Private Ransomlook Data
- Severity
- 6.9medium CVSS:4.0 by CIRCL
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CIRCL
Description
Ransomlook contains a Redis glob pattern injection vulnerability caused by insufficient neutralization of user-controlled input before it is incorporated into Redis SCAN MATCH patterns. The /api/health/<name> endpoint attempted to resolve the supplied name to a known group or market, but when resolution failed it fell back to using the attacker-controlled value directly in a Redis key pattern. An unauthenticated attacker could therefore supply Redis glob metacharacters such as *, ?, [ or ] to broaden the SCAN operation beyond the intended group. For example, requesting /api/health/* could enumerate health information, mirror slugs, and uptime series belonging to all groups and markets, including entities marked as private. Similar unsafe interpolation was present in /api/crypto/chain/<chain> and in the delete_manual_torrent() function. The latter represents a potentially destructive sink because a crafted infohash containing glob metacharacters could cause the scan to match torrent-health keys belonging to other torrents if attacker-controlled input can reach that function. The patch removes the unsafe fallback from the health endpoint and introduces glob escaping for user-controlled values before they are incorporated into Redis SCAN MATCH expressions.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ransomlook ransomlook | up to 2.0.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Ransomlook contains a Redis glob pattern injection vulnerability caused by insufficient neutralization of user-controlled input before it is incorporated into Redis SCAN MATCH patterns. The /api/health/<name> endpoint attempted to resolve the supplied name to a known group or market, but when resolution failed it fell back to using the attacker-controlled value directly in a Redis key pattern. An unauthenticated attacker could therefore supply Redis glob metacharacters such as *, ?, [ or ] to broaden the SCAN operation beyond the intended group. For example, requesting /api/health/* could enumerate health information, mirror slugs, and uptime series belonging to all groups and markets, including entities marked as private. Similar unsafe interpolation was present in /api/crypto/chain/<chain> and in the delete_manual_torrent() function. The latter represents a potentially destructive sink because a crafted infohash containing glob metacharacters could cause the scan to match torrent-health keys belonging to other torrents if attacker-controlled input can reach that function. The patch removes the unsafe fallback from the health endpoint and introduces glob escaping for user-controlled values before they are incorporated into Redis SCAN MATCH expressions.
NVD (es)
Ransomlook contiene una vulnerabilidad de inyección de patrón glob de Redis causada por la neutralización insuficiente de la entrada controlada por el usuario antes de que se incorpore en los patrones Redis SCAN MATCH. El endpoint /api/health/<name> intentó resolver el nombre proporcionado a un grupo o mercado conocido, pero cuyo la resolución falló, recurrió a usar el valor controlado por el atacante directamente en un patrón de clave de Redis. Un atacante no autenticado podría, por lo tanto, proporcionar metacaracteres glob de Redis como '*', '?', '[' o ']' para ampliar la operación SCAN más allá del grupo previsto. Por ejemplo, solicitar /api/health/* podría enumerar información de salud, 'mirror slugs' y series de tiempo de actividad pertenecientes a todos los grupos y mercados, incluidas las entidades marcadas como privadas. Una interpolación insegura similar estaba presente en /api/crypto/chain/<chain> y en la función delete_manual_torrent(). Esta última representa un 'sink' potencialmente destructivo porque un 'infohash' manipulado que contenga metacaracteres glob podría hacer que el escaneo coincida con claves de salud de torrents pertenecientes a otros torrents si la entrada controlada por el atacante puede llegar a esa función. El parche elimina el 'fallback' inseguro del endpoint de salud e introduce el escape de glob para los valores controlados por el usuario antes de que se incorporen en las expresiones Redis SCAN MATCH.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78378 changed 2026-08-24 | CVE Terms of Use |
| NVD | CVE-2026-78378 changed 2026-10-14 | Public domain |