In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Location Lib/Lib/Action/Admin/DataAction.class.php, two places
Unprocessed GET and POST parameters are spliced directly to the path, causing the file to be deleted. However, the actual local test found that the _ bak folder does not exist by default and needs backup function before it can be generated.
Global search for the _ bak field to find a place for the creation of the _ bak folder, the write_file function on line 51 of Lib/Lib/Action/Admin/DataAction.class.php.
When you enter the write_file function, you can see that the encapsulated mkdir method mkdirss is called internally
Now to construct the payload, you need to make a backup to create the _ bak folder. Here you need to satisfy strlen ($sql) > = $filesize*1000.
Backup succeeded
The following construction file deletes payload, accesses http://localhost:8888/4.0.181010/index.php?s=/admin-data-del&id=../../../../../../../../../Users/xx/Desktop/123.txt, and deletes 123.txt file
The other principle is the same, and it is no longer tested here.
2. Location Lib/Lib/Action/Admin/TplAction.class.php,88
You can see that the id parameter is not filtered and can be deleted arbitrarily. Create a 123.txt on the desktop during the test, and construct the payload as http://localhost:8888/4.0.181010/index.php?s=/admin-tpl-del&id=/Users/xx/Desktop/123.txt
You can see that the file has been deleted.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.