CVE-2024-28186: SMTP Mail Credentials Disclosed in Error Log in freescout
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/sendlog?folderid=&threadid={id} endpoint. The stack trace reveals value of parameters, including the username and password, passed to the SwiftTransportEsmtpAuthLoginAuthenticator->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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-28186?
CVE-2024-28186 is classified as a medium-severity vulnerability due to the exposure of SMTP server credentials.
How do I fix CVE-2024-28186?
To fix CVE-2024-28186, update your FreeScout application to version 1.8.124 or later.
Who is affected by CVE-2024-28186?
Organizations using FreeScout versions prior to 1.8.124 are affected by CVE-2024-28186.
What are the consequences of CVE-2024-28186?
CVE-2024-28186 can lead to unauthorized access to SMTP server credentials, potentially compromising email security.
Is there a workaround for CVE-2024-28186?
There is no official workaround for CVE-2024-28186; updating to the latest version is the recommended solution.