Miggo Logo

CVE-2023-25170: Possible CSRF token fixation

5

CVSS Score
3.1

Basic Information

EPSS Score
0.05737%
Published
3/13/2023
Updated
3/13/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
prestashop/prestashopcomposer< 8.0.18.0.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from session attributes (including CSRF tokens) not being cleared during user authentication. This suggests the login flow (e.g., AuthController) fails to regenerate CSRF tokens or reset sessions. Token management functions that persist tokens across login are also implicated. The high-confidence AuthController target aligns with common authentication patterns, while TokenManager is inferred as a secondary component.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t W**n *ut**nti**tin* us*rs Pr*st*S*op pr*s*rv*s s*ssion *ttri*ut*s. ****us* t*is *o*s not *l**r *SR* tok*ns upon lo*in, t*is mi**t *n**l*s `s*m*-sit* *tt**k*rs` to *yp*ss t** *SR* prot**tion m****nism *y p*r*ormin* *n *tt**k simil*r to * s*

Reasoning

T** vuln*r**ility st*ms *rom s*ssion *ttri*ut*s (in*lu*in* *SR* tok*ns) not **in* *l**r** *urin* us*r *ut**nti**tion. T*is su***sts t** lo*in *low (*.*., `*ut**ontroll*r`) **ils to r***n*r*t* *SR* tok*ns or r*s*t s*ssions. Tok*n m*n***m*nt *un*tions