🇰🇷 한글 설명
FreeScout 애플리케이션에서 예외 발생 시 전체 스택 트레이스를 데이터베이스에 저장하는 과정에서 SMTP 서버의 사용자 이름과 비밀번호가 노출되는 취약점이 발견되었습니다. 공격자는 특정 엔드포인트를 통해 이 정보를 탈취하여 조직의 SMTP 서버를 통해 무단 이메일을 발송할 수 있습니다.
💡 쉬운 설명
프로그램 오류 기록에 이메일 서버의 아이디와 비밀번호가 그대로 포함되어 저장되는 문제입니다. 이를 통해 해커가 회사의 이메일 계정을 가로채서 가짜 메일을 보낼 위험이 있습니다.
🇺🇸 원문 (English)
FreeScout is an open source help desk and shared inbox built with PHP.
A vulnerability has been identified in the Free Scout Application, which exposes SMTP server credentials used by an organization in the application to users of the application. This issue arises from the application storing complete stack traces of exceptions in its database. The sensitive information is then inadvertently disclosed to users via the `/conversation/ajax-html/send_log?folder_id=&thread_id={id}` endpoint. The stack trace reveals value of parameters, including the username and password, passed to the `Swift_Transport_Esmtp_Auth_LoginAuthenticator->authenticate()` function. Exploiting this vulnerability allows an attacker to gain unauthorized access to SMTP server credentials. With this sensitive information in hand, the attacker can potentially send unauthorized emails from the compromised SMTP server, posing a severe threat to the confidentiality and integrity of email communications. This could lead to targeted attacks on both the application users and the organization itself, compromising the security of email exchange servers. This issue has been addressed in version 1.8.124. Users are advised to upgrade. Users unable to upgrade should adopt the following measures: 1. Avoid Storing Complete Stack Traces, 2. Implement redaction mechanisms to filter and exclude sensitive information, and 3. Review and enhance the application's logging practices.
📍 영향받는 시스템
FreeScout 1.8.124 미만 버전
⚔️ 공격 벡터
특정 AJAX 엔드포인트를 통해 노출된 스택 트레이스 내의 SMTP 인증 정보 탈취
🛡️ 대응 방법
FreeScout를 1.8.124 버전 이상으로 업그레이드하거나 스택 트레이스 저장 및 노출 방지 설정 적용
🔧 검증 코드
해당 엔드포인트에 접근 시 200 OK 응답이 오며, 응답 본문에 SMTP 인증 정보(password 등)가 포함되어 있는지 확인
curl -s -I http://<target_url>/conversation/ajax-html/send_log?folder_id=&thread_id=1 | grep -E 'HTTP/1.1 200 OK'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
💻 영향받는 소프트웨어
Microsoft Exchange Server