Search for packages
| purl | pkg:composer/codeigniter4/shield@1.0.0-beta.2 |
| Next non-vulnerable version | 1.0.0-beta.8 |
| Latest non-vulnerable version | 1.0.0-beta.8 |
| Risk | 3.4 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-hdcm-szxg-7ucu
Aliases: CVE-2023-27580 GHSA-c5vj-f36q-p9vg |
CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds. |
Affected by 2 other vulnerabilities. |
|
VCID-ksav-p5du-duep
Aliases: CVE-2023-48708 GHSA-j72f-h752-mx4w GMS-2023-4599 |
Affected by 0 other vulnerabilities. |
|
|
VCID-pmr7-5sk2-dyat
Aliases: CVE-2023-48707 GHSA-v427-c49j-8w6x GMS-2023-4600 |
Affected by 0 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| VCID-dbng-2m6j-1uha | Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow [SameSite Attackers](https://canitakeyoursubdomain.name/) to bypass the [CodeIgniter4 CSRF protection](https://codeigniter4.github.io/userguide/libraries/security.html) mechanism with CodeIgniter Shield. For this attack to succeed, the attacker must have direct (or indirect, e.g., XSS) control over a subdomain site (e.g., `https://a.example.com/`) of the target site (e.g., `http://example.com/`). Upgrade to **CodeIgniter v4.2.3 or later** and **Shield v1.0.0-beta.2 or later**. As a workaround: set `Config\Security::$csrfProtection` to `'session,'`remove old session data right after login (immediately after ID and password match) and regenerate CSRF token right after login (immediately after ID and password match) |
CVE-2022-35943
GHSA-5hm8-vh6r-2cjq |