Miggo Logo

CVE-2024-50347: Laravel Reverb Missing API Signature Verification

6.3

CVSS Score
4.0

Basic Information

EPSS Score
0.06439%
Published
10/31/2024
Updated
10/31/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green
Package NameEcosystemVulnerable VersionsFirst Patched Version
laravel/reverbcomposer< 1.4.01.4.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from two key issues: 1) The verify method in the base controller did not invoke signature verification at all before the patch (missing $this->verifySignature($request) call), leaving all API endpoints unprotected. 2) The verifySignature method itself had flawed implementation where it directly accessed $this->query['auth_signature'] without handling missing values, and the patch added null coalescing ($authSignature = $this->query['auth_signature'] ?? '') to address this. The high confidence for the verify method comes from the explicit addition of the verification call in the patch, while the medium confidence for verifySignature reflects the subtler parameter handling improvement.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t * *ommunity m*m**r *is*los** *n issu* w**r* v*ri*i**tion si*n*tur*s *or r*qu*sts s*nt to R*v*r*'s Pus**r-*omp*ti*l* *PI w*r* not **in* v*ri*i**. T*is *PI is us** in s**n*rios su** *s *ro****stin* * m*ss*** *rom * ***k*n* s*rvi** or *or o*t

Reasoning

T** vuln*r**ility st*mm** *rom two k*y issu*s: *) T** v*ri*y m*t*o* in t** **s* *ontroll*r *i* not invok* si*n*tur* v*ri*i**tion *t *ll ***or* t** p*t** (missin* $t*is->v*ri*ySi*n*tur*($r*qu*st) **ll), l**vin* *ll *PI *n*points unprot**t**. *) T** v*