CVE-2024-28186 SMTP Mail Credentials Disclosed in Error Log in freescout
An attacker can retrieve SMTP credentials from error logs via an AJAX endpoint, enabling unauthorized email access and potential phishing attacks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-28186?
CVE-2024-28186 is a high-severity vulnerability in freescout-helpdesk freescout, published on 12 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-532
Which versions are affected by CVE-2024-28186?
It affects 1 product.
Products include Freescout Freescout.
How do I fix CVE-2024-28186?
No fix has been published for CVE-2024-28186 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-28186 being exploited?
There is no known exploitation of CVE-2024-28186 in the wild and no public exploit code.
Other vulnerabilities in freescout-helpdesk freescout
- CVE-2026-28289 FreeScout 1.8.206 Patch Bypass for CVE-2026-27636 via Zero-Width Space Character Leads to Remote Code Execution
- CVE-2026-27637 FreeScout's Predictable Authentication Token Enables Account Takeover
- CVE-2026-32754 FreeScout: Stored XSS via Unescaped Email Template Rendering ({!! $thread->body !!})
- CVE-2024-29185 FreeScout OS Command Injection vulnerability
- CVE-2026-40498 FreeScout has Authentication Bypass and Information Disclosure in SystemController via /system/cron
Sources
Also known as GHSA-7wcq-2qmv-mvcm.