Miggo Logo

CVE-2024-47529:
OpenC3 stores passwords in clear text (`GHSL-2024-129`)

5.9

CVSS Score
3.1

Basic Information

EPSS Score
0.10461%
Published
10/2/2024
Updated
11/13/2024
KEV Status
No
Technology
TechnologyRuby

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
openc3rubygems< 5.19.05.19.0
@openc3/tool-commonnpm< 5.19.05.19.0
openc3pip>= 0, < 5.19.05.19.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The primary vulnerability stems from the Login.vue component's login function storing raw passwords in localStorage. The pre-patch code showed direct assignment of 'this.password' to localStorage.openc3Token. The AuthModel.verify function's handling of service password comparison in cleartext and lack of proper password hashing (SHA2 without salt) created secondary exposure risks. The commit diff shows these were replaced with session token handling and proper credential management.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Summ*ry Op*n** *OSMOS stor*s t** p*sswor* o* * us*r un*n*rypt** in t** Lo**lStor*** o* * w** *rows*r. T*is m*k*s t** us*r p*sswor* sus**pti*l* to *x*iltr*tion vi* *ross-sit* s*riptin* (s** **SL-****-***). Not*: T*is *V* only *****ts Op*n Sour**

Reasoning

T** prim*ry vuln*r**ility st*ms *rom t** Lo*in.vu* *ompon*nt's lo*in *un*tion storin* r*w p*sswor*s in lo**lStor***. T** pr*-p*t** *o** s*ow** *ir**t *ssi*nm*nt o* 't*is.p*sswor*' to lo**lStor***.op*n**Tok*n. T** *ut*Mo**l.v*ri*y *un*tion's **n*lin*