🇰🇷 한글 설명
Grav 2.0.4 미만 버전에서 웹훅 발송 시 cURL 프로토콜 제한이 미흡하여 발생하는 취약점입니다. api.webhooks.write 권한을 가진 인증된 사용자가 file://, dict://, gopher:// 등의 URL을 사용하여 로컬 파일을 읽거나 내부 서비스로 공격을 확장할 수 있습니다.
💡 쉬운 설명
웹훅이라는 알림 기능을 악용하여 서버 내부의 중요한 파일을 몰래 읽거나 다른 시스템으로 침투할 수 있는 문제입니다. 권한이 있는 사용자가 허용되지 않은 특수 주소를 입력함으로써 발생합니다.
🇺🇸 원문 (English)
Grav before 2.0.4 fails to restrict cURL protocols in webhook dispatch, allowing authenticated users with api.webhooks.write permission to create webhooks with file://, dict://, or gopher:// URLs. Attackers can trigger webhook events to read local files, access process information, or pivot to internal services via unrestricted protocol handlers.
📍 영향받는 시스템
Grav version < 2.0.4
⚔️ 공격 벡터
api.webhooks.write 권한을 가진 사용자가 웹훅 설정 시 제한되지 않은 cURL 프로토콜(file:// 등)을 사용하여 요청을 보냄
🛡️ 대응 방법
Grav를 2.0.4 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.0.4 미만인지 확인하십시오.
composer show grav/core | grep 'versions'