CVE-2024-55556
CriticalSummary
Podatność w Crater Invoice pozwala nieautoryzowanemu atakującemu, który zna APP_KEY, na zdalne wykonanie poleceń na serwerze poprzez manipulację ciasteczkiem laravel_session. Wykorzystanie tej podatności opiera się na uzyskaniu tajnego APP_KEY, co umożliwia deszyfrowanie i manipulację danymi sesji.
Risk Assessment
Ryzyko dla organizacji polega na możliwości zdalnego wykonania poleceń na serwerze, co może prowadzić do poważnych naruszeń bezpieczeństwa i utraty danych. Atakujący, mając dostęp do serwera, może przejąć kontrolę nad systemem.
Recommendation
Zaleca się zabezpieczenie APP_KEY oraz monitorowanie dostępu do ciasteczek sesyjnych. Należy również wdrożyć dodatkowe mechanizmy zabezpieczeń, takie jak ograniczenie dostępu do aplikacji oraz regularne aktualizacje oprogramowania.
Original NVD description (English source)
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.

