{"id":57476,"date":"2024-06-13T17:31:35","date_gmt":"2024-06-13T14:31:35","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179073\/quickcart67-shell.txt"},"modified":"2024-06-13T17:31:35","modified_gmt":"2024-06-13T14:31:35","slug":"quick-cart-6-7-shell-upload","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/quick-cart-6-7-shell-upload\/","title":{"rendered":"Quick Cart 6.7 Shell Upload"},"content":{"rendered":"<pre readability=\"7.5\"><code readability=\"9\"># Title : Authenticated Remote Code Execution &amp; Shell Upload<br># Product : Quick Cart<br># Vendor : https:\/\/opensolution.org\/<br># Affected Version : 6.7<br># Researcher : Eagle Eye<br># Tested on : Window &amp; Linux<br># Date : 11\/06\/2024<br># Affected path : admin.php , core\/common-admin.php, database\/config.php<br># Affected function : saveVariables()<br># Report : Already contact the vendor but no response<p># Description : Unfiltered parameter that post into admin.php?p=tools-config override any<br>$config key value cause to unwanted file inclusion and allowed file extension overriding<br>lead to remote code execution.<br># Step to reproduce (Method 1)<br>- login at admin.php<br>- click Products and New Product from top navbar<br>- On the right panel, choose add file<br>- Upload malicious script with extension txt or any allowed extension like jpg<br>- click setting on right above<br>- click save and intercept the request<br>- on body parameter, add &amp;default_pages_template=..\/..\/files\/yourmaliciousfile.txt and proceed<br># Step to reproduce (Method 2)<br>- login at admin.php<br>- click setting on right above<br>- click save and intercept the request<br>- on body parameter, add &amp;allowed_extensions=php and proceed<br>- click Products and New Product from top navbar<br>- On the right panel, choose add file<br>- And you can upload malicious script with extension php - You may find on path eg: http:\/\/website.com\/files\/shell.php<br><\/p><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Title : Authenticated Remote Code Execution &amp; Shell Upload# Product : Quick Cart# Vendor : https:\/\/opensolution.org\/# Affected Version : 6.7# Researcher : Eagle Eye# Tested on : Window &amp; Linux# Date : 11\/06\/2024# Affected path : admin.php , core\/common-admin.php, database\/config.php# Affected function : saveVariables()# Report : Already contact the vendor but no response# Description &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-57476","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=57476"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57476\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}