🔍 CVE-2026-54736

0.0
CVSS Score
UNKNOWN
2026-07-10
2026-07-13 19:21
✅ 완료

🇰🇷 한글 설명

Phalcon 프레임워크 5.14.1 미만 버전의 Phalcon\Encryption\Crypt::decrypt 함수에서 타이밍 공격 취약점이 발견되었습니다. HMAC 태그 비교 시 바이트 단위로 조기 반환되는 비교 방식을 사용하여, 공격자가 시간 차이를 분석해 유효한 태그를 복구할 수 있습니다. 이를 통해 공격자는 변조된 암호화 콘텐츠를 인증된 것으로 위장할 수 있습니다.

💡 쉬운 설명

암호화된 데이터를 검사할 때 컴퓨터가 처리하는 미세한 시간 차이를 이용해 암호 키의 일부를 알아내는 공격입니다. 공격자가 암호화된 내용을 몰래 수정해도 시스템이 이를 정상적인 데이터로 착각하게 만들 수 있습니다.

🇺🇸 원문 (English)

Phalcon is a high-performance, full-stack PHP framework. Prior to 5.14.1, Phalcon\Encryption\Crypt::decrypt compares the attacker-supplied HMAC tag against the freshly computed HMAC using PHP/Zephir identity comparison, which lowers to a byte-wise comparison that returns early on the first differing byte. This observable timing discrepancy can allow an attacker to recover a valid tag byte-by-byte and attach it to a chosen IV and ciphertext so that decrypt() accepts tampered encrypted content as authentic. This issue is fixed in version 5.14.1.

📍 영향받는 시스템

Phalcon Framework 5.14.1 미만 버전

⚔️ 공격 벡터

타이밍 공격(Timing Attack)을 통한 HMAC 태그 복구 및 암호문 변조

🛡️ 대응 방법

Phalcon 프레임워크를 5.14.1 이상 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 5.14.1 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
php -r 'echo version(Phalcon\Encryption\Crypt::class);' 2>/dev/null || composer show phalcon/lang | grep version

💻 영향받는 소프트웨어

PHP