CVE-2024-55556

A vulnerability in Crater Invoice 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.
Configurations

No configuration.

History

08 Jan 2025, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-502
Summary
  • (es) Una vulnerabilidad en Crater Invoice permite a un atacante no autenticado con conocimiento de APP_KEY lograr la ejecución remota de comandos en el servidor manipulando la cookie laravel_session, explotando la deserialización arbitraria a través de los datos de sesión cifrados. El vector de explotación de esta vulnerabilidad se basa en que un atacante obtenga la APP_KEY secreta de Laravel, lo que le permitiría descifrar y manipular las cookies de sesión (laravel_session) que contienen datos serializados. Al alterar estos datos y volver a cifrarlos con la APP_KEY, el atacante podría desencadenar una deserialización arbitraria en el servidor, lo que podría llevar a la ejecución remota de comandos (RCE). La vulnerabilidad se explota principalmente accediendo a una cookie expuesta y manipulándola utilizando la clave secreta para obtener acceso malicioso al servidor.

07 Jan 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-07 16:15

Updated : 2025-01-08 20:15


NVD link : CVE-2024-55556

Mitre link : CVE-2024-55556

CVE.ORG link : CVE-2024-55556


JSON object : View

Products Affected

No product.

CWE
CWE-502

Deserialization of Untrusted Data