CVE-2024-50335 Authenticated XSS in "Publish Key" Field Allowing Unauthorized Administrator User Creation in SuiteCRM
Authenticated XSS in SuiteCRM allows attackers to steal CSRF tokens and create unauthorized administrator accounts, compromising system integrity.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50335?
CVE-2024-50335 is a medium-severity cross-site scripting vulnerability in Salesagility Suitecrm, published on 5 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
SuiteCRM is an open-source, enterprise-ready Customer Relationship Management (CRM) software application. The "Publish Key" field in SuiteCRM's Edit Profile page is vulnerable to Reflected Cross-Site Scripting (XSS), allowing an attacker to inject malicious JavaScript code. This can be exploited to steal CSRF tokens and perform unauthorized actions, such as creating new administrative users without proper authentication. The vulnerability arises due to insufficient input validation and sanitization of the Publish Key field within the SuiteCRM application. When an attacker injects a malicious script, it gets executed within the context of an authenticated user's session. The injected script (o.js) then leverages the captured CSRF token to forge requests that create new administrative users, effectively compromising the integrity and security of the CRM instance. This issue has been addressed in versions 7.14.6 and 8.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-50335?
1 open source package ship an affected version, including suitecrm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
suitecrm Bitnami | All versions | 7.14.6, 8.7.1 |
Products include Salesagility Suitecrm.
How do I fix CVE-2024-50335?
Upgrade suitecrm to a fixed version for your release line: 7.14.6 or 8.7.1.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-50335 being exploited?
There is no known exploitation of CVE-2024-50335 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Salesagility Suitecrm
Sources
Also known as BIT-suitecrm-2024-50335, GHSA-8rw6-g96j-3w7m.