Miggo Logo

CVE-2023-48708: Insertion of Sensitive Information into Log

5

CVSS Score
3.1

Basic Information

EPSS Score
0.38218%
Published
11/23/2023
Updated
11/27/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
codeigniter4/shieldcomposer< 1.0.0-beta.81.0.0-beta.8

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from authenticator implementations directly logging raw tokens during successful authentication attempts. The commit diff shows these functions previously passed raw $credentials['token'] values to recordLoginAttempt(). Patches replaced these with token names (AccessTokens/HMAC) or hashes (JWT). The attempt() methods in these authenticators were clearly responsible for handling credentials and initiating logging, making them the vulnerable entry points.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t I* su***ss*ul lo*in *tt*mpts *r* r**or***, t** r*w tok*ns *r* stor** in t** lo* t**l*. I* * m*li*ious p*rson som**ow vi*ws t** **t* in t** lo* t**l*, ** or s** **n o*t*in * r*w tok*n, w*i** **n t**n ** us** to s*n* * r*qu*st wit* t**t us*r

Reasoning

T** vuln*r**ility st*ms *rom *ut**nti**tor impl*m*nt*tions *ir**tly lo**in* r*w tok*ns *urin* su***ss*ul *ut**nti**tion *tt*mpts. T** *ommit *i** s*ows t**s* *un*tions pr*viously p*ss** r*w $*r***nti*ls['tok*n'] v*lu*s to `r**or*Lo*in*tt*mpt()`. P*t*