🔍 CVE-2026-78378

0.0
CVSS Score
UNKNOWN
2026-08-24
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Ransomlook의 Redis glob 패턴 주입 취약점으로, 사용자 입력값이 Redis SCAN MATCH 패턴에 적절히 중화되지 않고 포함되어 발생합니다. 공격자는 특수 문자를 사용하여 의도된 범위를 넘어선 데이터를 조회하거나, 특정 함수를 통해 다른 데이터의 삭제를 유도할 수 있습니다.

💡 쉬운 설명

사용자가 입력한 글자가 시스템 내부 명령어로 잘못 해석되어, 원래 보여주면 안 되는 비밀 정보까지 모두 불러올 수 있는 문제입니다. 나쁜 의도를 가진 사람이 특수 기호를 섞어 보내면 시스템이 모든 데이터를 다 보여주게 됩니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Ransomlook (health, crypto/chain 엔드포인트 및 delete_manual_torrent 함수 포함 버전)

⚔️ 공격 벡터

인증되지 않은 공격자가 API 엔드포인트에 Redis glob 메타문자(*, ?, [, ])를 포함한 요청을 전송

🛡️ 대응 방법

사용자 입력값에 대한 glob 이스케이프 처리를 적용하고, 유효하지 않은 입력에 대한 안전한 폴백(fallback) 로직으로 패치 적용

🔧 검증 코드

와일드카드(*) 요청 시 200 OK와 함께 과도한 데이터가 반환되면 취약한 상태이며, 404 또는 에러가 발생하면 안전한 상태입니다.

Shell / Script
curl -s -i http://<target>/api/health/* | grep -E 'HTTP/1.1 200|HTTP/1.1 404'

💻 영향받는 소프트웨어

Redis