sansec / magento2-module-cosmic-sting-jwt
Installs: 12 720
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 4
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- magento/module-jwt-user-token: *
README
Adobe has released a hotfix for the isolated patch that ensures only the latest encryption key is used for JWTs. If you have applied this hotfix, this module is no longer necessary.
Cosmic Sting JWT
As CosmicSting enables attackers to read any file, attackers can steal Magento's secret encryption key. This encryption key can be used to generate JSON Web Tokens with full administrative API access.
Adobe offers a solution to change the encryption key, but all it does is add an additional key and then attempts to re-encrypt existing secrets with this key. It does nothing to invalidate the old key that is still being referenced in app/etc/env.php
.
This module ensures that JWTs are only ever read using the latest encryption key. It is provided as-is and without any warranty or guarantees. Test extensively and use at own risk.
Installation
composer require sansec/magento2-module-cosmic-sting-jwt
bin/magento setup:upgrade
License
MIT License - Copyright (c) 2024 Sansec