Miggo Logo

CVE-2022-22107: Missing Authorization in DayByDay CRM

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.3659%
Published
1/8/2022
Updated
2/3/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
bottelet/flarepointcomposer>= 2.0.0, < 2.2.12.2.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing authorization in the calendar endpoint. The GitHub patch shows the critical addition of an authorization gate (!auth()->user()->can('calendar-view')) in the calendar() method. Before this fix, the function returned the calendar view without any permission checks, which aligns with the described vulnerability where low-privilege users could access unauthorized data via URL manipulation. Other changes in the commit relate to password policies and delete permission fixes, which are unrelated to the core authorization flaw.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In **y*y**y *RM, v*rsions *.*.* t*rou** *.*.* *r* vuln*r**l* to Missin* *ut*oriz*tion. *n *tt**k*r t**t **s t** low*st privil***s ***ount (*mploy** typ* us*r), **n vi*w t** *ppointm*nts o* *ll us*rs in t** syst*m in*lu*in* **ministr*tors. *ow*v*r, t*

Reasoning

T** vuln*r**ility st*ms *rom missin* *ut*oriz*tion in t** **l*n**r *n*point. T** *it*u* p*t** s*ows t** *riti**l ***ition o* *n *ut*oriz*tion **t* (!`*ut*()->us*r()->**n`('**l*n**r-vi*w')) in t** `**l*n**r()` m*t*o*. ***or* t*is *ix, t** *un*tion r*t