CVE-2024-29184: FreeScout - Stored Cross-Site Scripting
- Cve: CVE-2024-29184
- Name: FreeScout - Stored Cross-Site Scripting
- Description: FreeScout is a self-hosted help desk and shared mailbox. A Stored Cross-Site Scripting (XSS) vulnerability has been identified within the Signature Input Field of the FreeScout Application prior to version 1.8.128. Stored XSS occurs when user input is not properly sanitized and is stored on the server, allowing an attacker to inject malicious scripts that will be executed when other users access the affected page. In this case, the Support Agent User can inject malicious scripts into their signature, which will then be executed when viewed by the Administrator. The application protects users against XSS attacks by enforcing a CSP policy, the CSP Policy is: `script-src 'self' 'nonce-abcd' `. The CSP policy only allows the inclusion of JS files that are present on the application server and doesn't allow any inline script or script other than nonce-abcd. The CSP policy was bypassed by uploading a JS file to the server by a POST request to /conversation/upload endpoint. After this, a working XSS payload was crafted by including the uploaded JS file link as the src of the script. This bypassed the CSP policy and XSS attacks became possible. The impact of this vulnerability is severe as it allows an attacker to compromise the FreeScout Application. By exploiting this vulnerability, the attacker can perform various malicious actions such as forcing the Administrator to execute actions without their knowledge or consent. For instance, the attacker can force the Administrator to add a new administrator controlled by the attacker, thereby giving the attacker full control over the application. Alternatively, the attacker can elevate the privileges of a low-privileged user to Administrator, further compromising the security of the application. Attackers can steal sensitive information such as login credentials, session tokens, personal identifiable information (PII), and financial data. The vulnerability can also lead to defacement of the Application. Version 1.8.128 contains a patch for this issue.
- Impact: Attackers can execute malicious scripts, steal sensitive data, hijack sessions, or deface the application by exploiting this vulnerability.
- Remediation: Update to version 1.8.128 or later to patch the vulnerability.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs to upload malicious JS and craft payloads
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00861
- Epss percentile: 0.59279
- Assignee: [email protected]
- Published at: 2024-03-22T17:15:08Z
- Age in days: 977
- Modified at: 2026-06-17T07:22:34Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-29184
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-fffc-phh8-5h4v | nvd | 2024-03-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-fffc-phh8-5h4v | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freescout:freescout | < 1.8.128 | no | nvd | /v1/products/freescout/freescout |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| freescout-helpdesk/freescout | security_advisory | yes | /v1/repositories/freescout-helpdesk/freescout |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-03-22
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 848
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since