| 标题 | Laravel Ecommerce-Laravel-Bootstrap Platform 7.30.6 PHP Object Injection |
|---|
| 描述 | 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
|
|---|
| 来源 | ⚠️ https://github.com/kirilkirkov/Ecommerce-Laravel-Bootstrap/issues/18 |
|---|
| 用户 | remhopster (UID 72226) |
|---|
| 提交 | 2024-07-22 14時16分 (2 年前) |
|---|
| 管理 | 2024-07-24 07時04分 (2 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 272348 [kirilkirkov Ecommerce-Laravel-Bootstrap 直到 1f1097a3448ce8ec53e034ea0f70b8e2a0e64a87 app/Cart.php getCartProductsIds laraCart 权限提升] |
|---|
| 积分 | 20 |
|---|