UnratedPackagistPublished
nzo/url-encryptor-bundle Insecure default secret key and IV allowing anyone to decrypt values
GHSA-r2r8-36pq-27cm
- Affected
- Packagist nzo/url-encryptor-bundle >= 5.0.0, < 5.0.1; >= 4.0.0, < 4.3.2
- Fixed in
- 4.3.25.0.1· Vendor fix available
- Issue
- Versions of nzo/url-encryptor-bundle prior to 5.0.1 and 4.3.2 are affected by a security vulnerability related to the lack of mandatory key and IV requirements. By default, the bundle uses the aes-256-ctr algorithm, which is susceptible to malleability attacks, potentially leading to Insecure Direct Object Reference (IDOR) vulnerabilities. Additionally, the reuse of keys enables users to decrypt and modify encrypted data if they can guess the plaintext of one ciphertext.
Recommended action: Upgrade to 5.0.1 or 4.3.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.