7.1high

CVE-2024-28186

SMTP Mail Credentials Disclosed in Error Log in freescout

Published 2 y ago · modified 4 mo ago · JSON

CVSS
7.1
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.6%
percentile 46%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction (EPSS)

0.55% probability of exploitation in the next 30 days, higher than 46% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.17.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
CNA3.17.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD3.17.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected products

  • freescout-helpdesk freescout

Classification

Weakness
  • CWE-532 Insertion of Sensitive Information into Log File

References

  • github.com /freescout-helpdesk/freescout/security/advisories/GHSA-7wcq-2qmv-mvcm · x_refsource_CONFIRM, x_transferred
  • github.com /freescout-helpdesk/freescout/commit/33639a89554998dcac645613130a27ac7872605e · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.