You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vulnerability location:
/data/inc/file.php line:42
If the file name is '.htaccess', the strpos function returns a result of 0.
Demo:
Upload these two files in the management file interface.
Access in /files/1.txt.
Successful execution.
Then upload attack code.
Successfully obtained the shell.
Poc:
Vulnerability location:
![image](https://user-images.githubusercontent.com/55877767/67195146-04a1e280-f42b-11e9-9b70-023bde63d1a7.png)
![image](https://user-images.githubusercontent.com/55877767/67190788-32832900-f423-11e9-838d-847fd6c15d8f.png)
![image](https://user-images.githubusercontent.com/55877767/67195721-0ae48e80-f42c-11e9-9dcc-a0100205d417.png)
/data/inc/file.php line:42
If the file name is '.htaccess', the strpos function returns a result of 0.
Demo:
Upload these two files in the management file interface.
Access in /files/1.txt.
![image](https://user-images.githubusercontent.com/55877767/67190921-62323100-f423-11e9-8507-78ce8cbf8f40.png)
![image](https://user-images.githubusercontent.com/55877767/67191254-e71d4a80-f423-11e9-8de6-bb721a3e6f1d.png)
![image](https://user-images.githubusercontent.com/55877767/67191968-36b04600-f425-11e9-96de-df355c8edc79.png)
Successful execution.
Then upload attack code.
Successfully obtained the shell.
Poc:
The text was updated successfully, but these errors were encountered: