| Title | 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
|
|---|
| Source | ⚠️ https://github.com/kirilkirkov/Ecommerce-Laravel-Bootstrap/issues/18 |
|---|
| User | remhopster (UID 72226) |
|---|
| Submission | 07/22/2024 14:16 (2 years ago) |
|---|
| Moderation | 07/24/2024 07:04 (2 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 272348 [kirilkirkov Ecommerce-Laravel-Bootstrap up to 1f1097a3448ce8ec53e034ea0f70b8e2a0e64a87 app/Cart.php getCartProductsIds laraCart deserialization] |
|---|
| Points | 20 |
|---|