pimcore/customer-management-framework-bundle Cross-site Scripting vulnerability in Segment name
The Segment name field in the customer management framework was vulnerable to HTML injection, allowing an attacker to insert malicious links or scripts into emails. This could trick victims into clicking hyperlinks that redirect to malicious sites or host an XSS page, potentially leading to credential theft.
pimcore/customer-data-framework
Originally disclosed on huntr
Impact
As HTML injection works in email an attacker can trick a victim to click on such hyperlinks to redirect him to any malicious site and also can host a XSS page. All this will surely cause some damage to the victim. This could lead to users being tricked into giving logins away to malicious attackers.
Patches
Update to version 3.4.2 or apply this patch manually https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2.patch
Workarounds
Apply https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2.patch manually.
References
https://huntr.dev/bounties/ce852777-2994-40b4-bb4e-c4d10023eeb0/
From the GitHub Advisory Database (GHSA-735f-w79p-282x, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Segment name input was not properly sanitised or encoded before being rendered in email HTML, allowing HTML injection.
Impact
An attacker could trick a victim into clicking a malicious hyperlink in an email, redirecting them to a harmful site or hosting an XSS page, which could lead to users giving away their logins.
What the attacker needed
Ability to set a Segment name; victim receives an email containing the segment name
The fix
The vulnerability was fixed in version 3.4.2, and a patch is available for manual application.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A part of the application that stores a 'Segment name' did not clean up special characters properly. When that name was later shown in an email, the email could contain hidden links or code that the attacker chose. A victim receiving the email might click a link thinking it is legitimate and end up on a harmful website or give away their login details.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.