🔍 CVE-2026-19565

3.7
CVSS Score
LOW
2026-08-23
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Apache::AppSamurai::Util 1.01 이하 버전에서 CreateSessionAuthKey 함수가 시계와 프로세스 ID를 사용하여 예측 가능한 세션 인증 키를 생성하는 취약점이 발견되었습니다. 공격자가 세션 생성 시간과 프로세스 ID를 알 경우 후보 키를 열거하여 피해자의 쿠키를 탈취하고 인증을 우회할 수 있습니다.

💡 쉬운 설명

로그인할 때 사용하는 비밀 열쇠를 만드는 규칙이 너무 단순하여, 공격자가 이 규칙을 예측해 열쇠를 흉내 낼 수 있는 문제입니다. 이를 통해 공격자는 아이디와 비밀번호 없이도 다른 사용자의 계정으로 접속할 수 있습니다.

🇺🇸 원문 (English)

Apache::AppSamurai::Util versions through 1.01 for Perl generate predictable session authentication keys from the clock and process id in CreateSessionAuthKey. CreateSessionAuthKey runs five rounds of SHA-256, each over a fresh Time::HiRes reading formatted to six decimal places, the running digest, and the process id. CreateSession calls it with an empty key source on every login, and the optional Keysource directive is the only route to the other branch. The result is 64 hex characters. The microsecond field of the first reading takes one of a million values, the later readings follow it within microseconds, and the process id is drawn from a small range. The key is returned to the browser as the session cookie, and is combined with the configured server key to compute the session id and to encrypt the stored session data. An attacker who knows the second in which a session was created and the process id of the worker that created it can enumerate candidate keys and recover the victim's cookie, bypassing authentication for the protected resources. Each candidate has to be tried against the server, which validates the cookie with a key the attacker does not hold.

📍 영향받는 시스템

Apache::AppSamurai::Util versions through 1.01 (Perl)

⚔️ 공격 벡터

세션 생성 시간과 프로세스 ID를 이용한 키 후보군 열거 및 세션 쿠키 탈취

🛡️ 대응 방법

Apache::AppSamurai::Util을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.01 이하인지 확인하십시오.

Shell / Script
perl -MApache::AppSamurai::Util -e 'print $Apache::AppSamurai::Util::VERSION . "\n"' 2>/dev/null

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Log Server