🇰🇷 한글 설명
오픈소스 구독 관리 도구인 Wallos의 특정 버전에서 인증된 사용자가 SMTP 설정에 내부 IP를 입력하여 서버가 내부 네트워크로 임의의 연결을 시도하게 만드는 SSRF 취약점이 발견되었습니다. 이 취약점은 알림 설정 엔드포인트에서 입력값 검증을 수행하지 않고, 크론 작업이 사용자 제어 호스트를 PHPMailer에 직접 전달하기 때문에 발생합니다.
💡 쉬운 설명
로그인한 사용자가 이메일 설정에 가짜 주소를 입력하여, 서버가 내부 네트워크의 다른 장치에 몰래 접속하게 만들 수 있는 보안 약점입니다. 이를 통해 공격자는 서버를 이용해 내부망을 탐색하거나 공격할 수 있습니다.
🇺🇸 원문 (English)
Wallos is an open-source, self-hostable personal subscription tracker. From version 2.0.0 to before version 5.0.0, any authenticated Wallos user (no admin rights required) can make the server open arbitrary outbound SMTP connections to internal/link-local addresses, by setting the SMTP host of their personal email notifications to an internal IP. The per-user notification settings endpoint (endpoints/notifications/saveemailnotifications.php) performs no SSRF validation, and the notification cron (endpoints/cronjobs/sendnotifications.php) feeds that user-controlled host straight into PHPMailer ($mail->Host = $email['smtpAddress']). When the user's subscription notification fires, the server connects to the chosen host:port. This issue has been patched in version 5.0.0.
📍 영향받는 시스템
Wallos version 2.0.0 to before 5.0.0
⚔️ 공격 벡터
인증된 사용자가 알림 설정 엔드포인트를 통해 SMTP 호스트를 내부 IP로 변경하여 서버가 내부망으로 연결을 시도하게 유도함
🛡️ 대응 방법
Wallos를 버전 5.0.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 5.0.0 이상인지 확인하여 패치 여부를 판단합니다.
curl -s http://<wallos-ip>/version.php | grep -E '5\.[0-9]+'