Advisory

GHSA-qm5c-m76r-2hfr

Also known as: None

Summary

Laravel RCE vulnerability in "cookie" session driver

Details

Applications using the "cookie" session driver that were also exposing an encryption oracle via their application were vulnerable to remote code execution. An encryption oracle is a mechanism where arbitrary user input is encrypted and the encrypted string is later displayed or exposed to the user. This combination of scenarios lets the user generate valid Laravel signed encryption strings for any plain-text string, thus allowing them to craft Laravel session payloads when an application is using the "cookie" driver.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-15 22:16 UTC
Modified
2024-11-29 05:40 UTC

Affected packages and fixes

laravel/framework

Packagist · All systems

Affected

  • introduced 4.1.0, fixed 6.18.31 (ecosystem)

Fixed versions

6.18.31

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.22.4 (ecosystem)

Fixed versions

7.22.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences