Miggo Logo

CVE-2024-45932: Krayin CRM vulnerable to Cross Site Scripting (XSS) via the organization name

4.8

CVSS Score
3.1

Basic Information

EPSS Score
0.0528%
Published
10/7/2024
Updated
10/7/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
krayin/laravel-crmcomposer<= 1.3.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The XSS vulnerability stems from two common Laravel pitfalls: 1) Lack of input sanitization in the controller method responsible for saving organization data (allowing storage of malicious payloads), and 2) Failure to properly escape output in Blade templates when rendering the organization name. The high confidence in the view template stems from the exploit's reliance on reflected unsanitized HTML, which strongly suggests unescaped Blade output. The medium confidence for the controller reflects the likelihood of missing validation/sanitization logic, though this could theoretically be mitigated elsewhere.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Kr*yin *RM v*.*.* is vuln*r**l* to *ross Sit* S*riptin* (XSS) vi* t** or**niz*tion n*m* *i*l* in `/**min/*ont**ts/or**niz*tions/**it/*`.

Reasoning

T** XSS vuln*r**ility st*ms *rom two *ommon L*r*v*l pit**lls: *) L**k o* input s*nitiz*tion in t** *ontroll*r m*t*o* r*sponsi*l* *or s*vin* or**niz*tion **t* (*llowin* stor*** o* m*li*ious p*ylo**s), *n* *) **ilur* to prop*rly *s**p* output in *l***