# GHSA-r2r8-36pq-27cm: nzo/url-encryptor-bundle Insecure default secret key and IV allowing anyone to decrypt values

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-17T23:06:52.000Z
- Modified: 2024-12-02T05:51:28.774Z

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- nzo/url-encryptor-bundle (Packagist): from 5.0.0 before 5.0.1; from 4.0.0 before 4.3.2

## References

- <https://github.com/nayzo/NzoUrlEncryptorBundle/commit/ba3af1a9bcf3bedcc0ed5948979f482e2134da1a> (web)
- <https://github.com/nayzo/NzoUrlEncryptorBundle/commit/bd8232501c12c9df1bc45b1970870ef665218581> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/nzo/url-encryptor-bundle/2020-05-03.yaml> (web)
- <https://github.com/nayzo/NzoUrlEncryptorBundle> (package)

## Sources

- GitHub Advisory Database: [GHSA-r2r8-36pq-27cm](https://github.com/advisories/GHSA-r2r8-36pq-27cm), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-r2r8-36pq-27cm · Whole record: https://cve.day/GHSA-r2r8-36pq-27cm.json · Rebuilt by cve.day 2026-11-25T22:56:32.901Z
