| Titre | Laravel Ecommerce-Laravel-Bootstrap Platform 7.30.6 PHP Object Injection |
|---|
| Description | An unserialized function was found in Ecommerce-Laravel-Bootstrap platform which can be exploited with PHP Object Injection.
### Details
The vulnerable code is found in \\\app\\\Cart.php in the private function "getCartProductsIds()".
Vulnerable code:
if (isset($_COOKIE['laraCart']) && $_COOKIE['laraCart'] == null && !empty($_COOKIE['laraCart'])) {
$_SESSION['laraCart'] = unserialize($_COOKIE['laraCart']);
The issue is solved by the owner:
https://github.com/kirilkirkov/Ecommerce-Laravel-Bootstrap/blob/master/app/Cart.php
|
|---|
| La source | ⚠️ https://github.com/kirilkirkov/Ecommerce-Laravel-Bootstrap/issues/18 |
|---|
| Utilisateur | remhopster (UID 72226) |
|---|
| Soumission | 22/07/2024 14:16 (il y a 2 ans) |
|---|
| Modérer | 24/07/2024 07:04 (2 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 272348 [kirilkirkov Ecommerce-Laravel-Bootstrap app/Cart.php getCartProductsIds laraCart élévation de privilèges] |
|---|
| Points | 20 |
|---|