Description
openssl_encrypt versions before 1.4.0 configure CORS with allow_origins set to wildcard and allow_credentials enabled to true. Attackers can create malicious websites that make authenticated cross-origin requests to the API on behalf of any user who visits them.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jahlives | openssl_encrypt | < 1.4.0 | 1.4.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | openssl-encrypt | < 1.4.0 | 1.4.0 | GHSA-c65f-x25w-62jv |
References
- GitHub Security Advisory (GHSA-c65f-x25w-62jv) vendor-advisory
- VulnCheck Advisory: openssl_encrypt before 1.4.0 CORS Misconfiguration via Wildcard Origins third-party-advisory