Skip to content
Permalink
master
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?
Go to file
 
 
Cannot retrieve contributors at this time

Doccms-Execute-Code


Doccms 2016.05.17 upload_model() in /admini/controllers/system/managemodel.php in Doccms 2016.05.17 allows remote attackers to execute arbitrary PHP code through module management files. Add webshell to ZIP file and upload ZIP file then getshell.

  • find managemodel avatar

  • /admini/controllers/system/managemodel.php: upload file to /tmp and unzip avatar

  • includ /inc/class.upload.php:Define the path to upload files /upload+/tmp ==> /upload/tmp/,Define the types of files that can be uploaded (gif|jpg|jpeg|bmp|png|rar|zip|swf|wma|rm|mp3) avatar avatar

  • upload zip includ webshell avatar

  • getshell avatar avatar