Skip to main content

Deserialization of Untrusted Data

CVE-2024-55556

Severity High
Score 9.8/10

Summary

A vulnerability in Crater Invoice i.e. bytefury/crater allows an unauthenticated attacker with knowledge of the "APP_KEY" to achieve remote command execution on the server by manipulating the "laravel_session" cookie, exploiting arbitrary deserialization through the encrypted session data. The exploitation vector of this vulnerability relies on an attacker obtaining Laravel's secret "APP_KEY", which would allow them to decrypt and manipulate session cookies ("laravel_session") containing serialized data. By altering this data and re-encrypting it with the "APP_KEY", the attacker could trigger arbitrary deserialization on the server, potentially leading to remote command execution (RCE). The vulnerability is primarily exploited by accessing an exposed cookie and manipulating it using the secret key to gain malicious access to the server.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-502 - Deserialization of Untrusted Data

Deserialization of untrusted data vulnerabilities enable an attacker to replace or manipulate a serialized object, replacing it with malicious data. When the object is deserialized at the victim's end the malicious data is able to compromise the victim’s system. The exploit can be devastating, its impact may range from privilege escalation, broken access control, or denial of service attacks to allowing unauthorized access to the application's internal code and logic which can compromise the entire system.

Advisory Timeline

  • Published