SugarCRM < 10.1.0 Multiple Reflected Cross-Site Scripting Vulnerabilities
User input in the 'do' parameter (when action is metadata) and the 'current_step' parameter in the Reports module is not properly sanitised before being placed into HTML output. An attacker could exploit this to carry out reflected cross-site scripting attacks.
karmainsecurity.com
Published on karmainsecurity.com
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2020-17372 to these vulnerabilities.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing output encoding of user-supplied parameters before they are inserted into HTML.
Impact
An attacker could run script in a victim's browser in the context of the SugarCRM application, potentially stealing session data or performing actions as the victim.
What the attacker needed
Victim clicks a crafted link; victim is logged in to SugarCRM
The fix
The vulnerabilities were fixed in version 10.1.0.
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 write-up has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website takes text from a user and puts it into a page without cleaning it first, so an attacker can sneak in code that runs in other people's browsers. Here, two places in SugarCRM did exactly that, letting an attacker craft a link that, when clicked, runs their code in the victim's session.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.