Submit #378780: Laravel Ecommerce-Laravel-Bootstrap Platform 7.30.6 PHP Object Injectioninfo

TitleLaravel Ecommerce-Laravel-Bootstrap Platform 7.30.6 PHP Object Injection
DescriptionAn 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)
Submission07/22/2024 14:16 (2 years ago)
Moderation07/24/2024 07:04 (2 days later)
StatusAccepted
VulDB entry272348 [kirilkirkov Ecommerce-Laravel-Bootstrap up to 1f1097a3448ce8ec53e034ea0f70b8e2a0e64a87 app/Cart.php getCartProductsIds laraCart deserialization]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!