{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-28186 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-28186 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-28186 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-28186 in the wild and no public exploit code.\n\nAffected product: freescout-helpdesk freescout. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28186/ (Markdown: https://insights.sbomify.com/CVE-2024-28186/index.md)","id":"CVE-2024-28186","markdown":"https://insights.sbomify.com/CVE-2024-28186/index.md","name":"CVE-2024-28186","record":{"aliases":["GHSA-7wcq-2qmv-mvcm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"FreeScout help desk","requires_auth":"low_privilege","summary":"An attacker can retrieve SMTP credentials from error logs via an AJAX endpoint, enabling unauthorized email access and potential phishing attacks.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"freescout","vendor":"freescout"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"FreeScout is an open source help desk and shared inbox built with PHP.\n\nA 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=\u0026thread_id={id}` endpoint. The stack trace reveals value of parameters, including the username and password, passed to the `Swift_Transport_Esmtp_Auth_LoginAuthenticator-\u003eauthenticate()` 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SMTP Mail Credentials Disclosed in Error Log in freescout","id":"CVE-2024-28186","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"OS Command Injection Vulnerability in SOY CMS","id":"CVE-2024-28187"},"packages":[],"prev":{"headline":"Judge0 vulnerable to Sandbox Escape via Symbolic Link","id":"CVE-2024-28185"},"products":["freescout"],"published":"2024-03-12","related":[{"cvss_score":10,"headline":"FreeScout 1.8.206 Patch Bypass for CVE-2026-27636 via Zero-Width Space Character Leads to Remote Code Execution","id":"CVE-2026-28289","kev_date_added":null,"published":"2026-03-03"},{"cvss_score":9.8,"headline":"FreeScout's Predictable Authentication Token Enables Account Takeover","id":"CVE-2026-27637","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":9.3,"headline":"FreeScout: Stored XSS via Unescaped Email Template Rendering ({!! $thread-\u003ebody !!})","id":"CVE-2026-32754","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":9.1,"headline":"FreeScout OS Command Injection vulnerability","id":"CVE-2024-29185","kev_date_added":null,"published":"2024-03-22"},{"cvss_score":8.9,"headline":"FreeScout has Authentication Bypass and Information Disclosure in SystemController via /system/cron","id":"CVE-2026-40498","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"FreeScout has Predictable Attachment Token that Allows Unauthenticated Private File Download via Brute Force","id":"CVE-2026-40496","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"FreeScout: Missing .htaccess in Restricted File Extensions Allows Remote Code Execution on Apache","id":"CVE-2026-27636","kev_date_added":null,"published":"2026-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["freescout-helpdesk"]},"summary":"An attacker can retrieve SMTP credentials from error logs via an AJAX endpoint, enabling unauthorized email access and potential phishing attacks.","url":"https://insights.sbomify.com/CVE-2024-28186/"}