{"id":"CVE-2024-47529","published":"2024-10-02T19:17:21Z","modified":"2024-10-31T13:52:49Z","title":"OpenC3 COSMOS uses clear text storage of password/token (`GHSL-2024-129`)","vendor":"OpenC3","product":"cosmos","tier":"tail","description":{"text":"OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. OpenC3 COSMOS stores the password of a user unencrypted in the LocalStorage of a web browser. This makes the user password susceptible to exfiltration via Cross-site scripting (see GHSL-2024-128). This vulnerability is fixed in 5.19.0. This only affects Open Source edition, and not OpenC3 COSMOS Enterprise Edition.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00353,"percentile":0.29572,"provenance":"source"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-4xqv-47rm-37mm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.91},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"openc3","affectedVersions":[{"vendor":"OpenC3","product":"cosmos","versions":["< 5.19.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T19:52:44.205977Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"openc3","vulnerableRanges":["<5.19.0"],"patched":["5.19.0"],"from":["GHSA-4xqv-47rm-37mm"],"provenance":"source"},{"ecosystem":"npm","package":"@openc3/tool-common","vulnerableRanges":["<5.19.0"],"patched":["5.19.0"],"from":["GHSA-4xqv-47rm-37mm"],"provenance":"source"},{"ecosystem":"PyPI","package":"openc3","vulnerableRanges":["<5.19.0"],"patched":["5.19.0"],"from":["GHSA-4xqv-47rm-37mm","PYSEC-2024-121"],"provenance":"source"}],"summary":{"text":"OpenC3 COSMOS (open source edition, fixed in 5.19.0) stores a user's password unencrypted in the web browser's LocalStorage, which is a cleartext storage of sensitive information flaw. An attacker with local access who has low privileges can read the stored password, and the exposure can also be reached by exfiltrating it through a cross-site scripting flaw (GHSL-2024-128), with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:35Z"},"euvd":{"id":"EUVD-2024-0128","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openc3-cosmos-cve-2024-43795","parents":[{"from":"CVE-2024-43795","to":"CVE-2024-47529","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-init/plugins/packages/openc3-tool-common/src/tools/base/components/Login.vue"],"commits":["https://github.com/OpenC3/cosmos/commit/762d7e0e93bdc2f340b1e42acccedc78994a576e","https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7"],"basis":"rarely changed file"}]},{"from":"CVE-2024-46977","to":"CVE-2024-47529","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-script-runner-api/app/controllers/scripts_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b","https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7"],"basis":"shared function","functions":["run"]}]}],"children":[{"from":"CVE-2024-47529","to":"CVE-2025-28388","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-cmd-tlm-api/app/controllers/auth_controller.rb","openc3/lib/openc3/models/auth_model.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","https://github.com/OpenC3/cosmos/commit/195974a019f375f7c5a35f48e4151babb40649ac"],"basis":"shared function","functions":["self","token_exists"]}]},{"from":"CVE-2024-47529","to":"CVE-2026-42084","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-cmd-tlm-api/app/controllers/auth_controller.rb","openc3/lib/openc3/models/auth_model.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","https://github.com/OpenC3/cosmos/commit/2e623714e3426d5ae81b6f8239d4a2a6937ef776"],"basis":"shared function","functions":["self"]}]},{"from":"CVE-2024-47529","to":"CVE-2026-77602","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-script-runner-api/app/controllers/scripts_controller.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","https://github.com/OpenC3/cosmos/commit/71943352a28128ef3e7e894319d97a656b5cd4f2","https://github.com/OpenC3/cosmos/commit/7a1538a4626f82c0d1540fcaa27ffdcbbd71ff81"],"basis":"rarely changed file"}]}]}}