🇰🇷 한글 설명
WACRM 0.7.0 및 이전 버전에서 자동화 기능의 send_webhook 액션이 SSRF 방어 로직을 우회할 수 있는 취약점이 발견되었습니다. 인증된 사용자가 임의의 웹훅 URL을 제출하면 서버가 내부 네트워크나 클라우드 메타데이터 주소로 요청을 보내게 되어 민감한 정보가 노출될 수 있습니다.
💡 쉬운 설명
공격자가 가짜 주소를 입력하면 서버가 내부의 비밀스러운 주소에 대신 접속하여 정보를 가져오게 만드는 보안 허점입니다. 이를 통해 서버 내부의 중요한 설정이나 클라우드 관리 정보가 유출될 수 있습니다.
🇺🇸 원문 (English)
WACRM is a self-hostable CRM template for WhatsApp. In 0.7.0 and earlier, the automation send_webhook action in src/lib/automations/engine.ts and its validation in src/lib/automations/validate.ts allowed an authenticated user with automation privileges to submit an arbitrary webhook URL that the server fetched without the existing isDeliverableUrl SSRF guard in src/lib/webhooks/ssrf.ts, allowing requests to private, loopback, link-local, or cloud metadata addresses such as the cloud metadata endpoint at 169.254.169.254. This vulnerability is fixed with commit 23838a9959550e975d732ae08a44a3a2f0cc084b.
📍 영향받는 시스템
WACRM 0.7.0 및 그 이전 버전
⚔️ 공격 벡터
인증된 사용자가 자동화 설정 내 웹훅 URL에 내부망 또는 클라우드 메타데이터 주소를 입력하여 서버를 공격함
🛡️ 대응 방법
커밋 23838a9959550e975d732ae08a44a3a2f0cc084b가 적용된 최신 버전으로 업데이트
🔧 검증 코드
명령어 결과가 'Fixed'이면 패치된 상태이며, 'Vulnerable'이면 취약한 상태입니다.
git log -1 --format=%H | grep -q 23838a9959550e975d732ae08a44a3a2f0cc084b && echo 'Fixed' || echo 'Vulnerable'