🇰🇷 한글 설명
viames Pair Framework의 UserRemember.php 파일에서 getCookieContent 함수가 사용자 입력으로 받은 cookieName을 검증 없이 역직렬화하는 취약점입니다. 공격자가 조작된 쿠키 값을 전송하여 원격에서 임의 코드 실행이 가능합니다. 현재 익스플로잇이 공개되어 있어 즉각적인 위협이 있습니다.
💡 쉬운 설명
웹사이트가 사용자의 쿠키를 검증 없이 믿고 처리하는 바람에, 해커가 특수하게 만든 쿠키를 보내면 서버에서 원하는 명령을 실행할 수 있습니다. 이미 해킹 방법이 공개되어 있어 매우 위험합니다.
🇺🇸 원문 (English)
A vulnerability has been found in viames Pair Framework up to 1.9.11 and classified as critical. Affected by this vulnerability is the function getCookieContent of the file /src/UserRemember.php of the component PHP Object Handler. The manipulation of the argument cookieName leads to deserialization. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
viames Pair Framework 버전 1.9.11 이하
⚔️ 공격 벡터
조작된 cookieName 파라미터를 /src/UserRemember.php의 getCookieContent 함수로 전송하여 PHP 역직렬화 공격 수행
🛡️ 대응 방법
viames Pair Framework를 1.9.12 이상으로 즉시 업그레이드하고, 쿠키 입력값에 대한 입력 검증 및 역직렬화 필터링 구현
🔧 검증 코드
framework 설치 경로의 UserRemember.php에서 getCookieContent 함수 내 unserialize() 함수 사용 여부 확인 - unserialize가 있으면 VULNERABLE, 없으면 PATCHED
grep -r 'getCookieContent' /path/to/framework/src/UserRemember.php | grep -q 'unserialize' && echo 'VULNERABLE' || echo 'PATCHED'