Miggo Logo

CVE-2024-36421: Flowise Cors Misconfiguration in packages/server/src/index.ts

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.16092%
Published
8/5/2024
Updated
8/5/2024
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
flowisenpm<= 1.4.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The CORS misconfiguration vulnerability arises from the improper use of the cors middleware in the index.ts file. The middleware is used without configuring it to restrict origins, thus allowing all origins. This directly relates to the 'cors' function or method being used in the code.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*lowis* is * *r** & *rop us*r int*r**** to *uil* * *ustomiz** l*r** l*n*u*** mo**l *low. In v*rsion *.*.* o* *lowis*, * *ORS mis*on*i*ur*tion s*ts t** ****ss-*ontrol-*llow-Ori*in *****r to *ll, *llowin* *r*itr*ry ori*ins to *onn**t to t** w**sit*. In

Reasoning

T** *ORS mis*on*i*ur*tion vuln*r**ility *ris*s *rom t** improp*r us* o* t** `*ors` mi**l*w*r* in t** `in**x.ts` *il*. T** mi**l*w*r* is us** wit*out *on*i*urin* it to r*stri*t ori*ins, t*us *llowin* *ll ori*ins. T*is *ir**tly r*l*t*s to t** `'*ors'`