Miggo Logo

CVE-2022-0968: Integer Overflow in microweber

7.2

CVSS Score
3.0

Basic Information

EPSS Score
0.77322%
Published
3/16/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
microweber/microwebercomposer<= 1.2.11

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing input validation in form request classes. The commit diff shows the addition of 'max:500' validators to first_name, last_name, phone, username, and email fields in both UserCreateRequest and UserUpdateRequest. Before this fix, the absence of length restrictions allowed attackers to submit arbitrarily large values. While the CWE-190 classification suggests an integer overflow/wraparound, the direct vulnerable components are the validation rules that failed to constrain input size, which would be consumed by downstream processing functions (not explicitly shown in diffs) that might perform unsafe arithmetic operations on these unchecked input lengths.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Mi*row***r is * n*w **n*r*tion *MS wit* *r** *n* *rop. T** mi*row***r *ppli**tion *llows l*r** ***r**t*rs to ins*rt in t** input *i*l* "*irst & l*st n*m*" w*i** **n *llow *tt**k*rs to **us* * **ni*l o* S*rvi** (*oS) vi* * *r**t** *TTP r*qu*st. T** *i

Reasoning

T** vuln*r**ility st*ms *rom missin* input v*li**tion in *orm r*qu*st *l*ss*s. T** *ommit *i** s*ows t** ***ition o* 'm*x:***' v*li**tors to *irst_n*m*, l*st_n*m*, p*on*, us*rn*m*, *n* *m*il *i*l*s in *ot* Us*r*r**t*R*qu*st *n* Us*rUp**t*R*qu*st. ***