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

I found a php code execute in /admin/web_config.php at version5.6 #4

Open
liao10086 opened this issue Apr 2, 2019 · 2 comments
Open

Comments

@liao10086
Copy link

liao10086 commented Apr 2, 2019

hi:
I found a php code execute in /admin/web_config.php at version5.6
1.Login as admin
2. open http://192.168.10.12/admin/default.php
3.at the setting watermark input the payload
image

Watermark text input xxx'
Text color input ;phpinfo();//
image

4.submit and visit watermark setting you can see the php code execute
image

because the payload was write in /data/watermark.inc.php
image

the watermark.inc.php was inclue by require_once so php code execute
image

suggest:
replace ' ,,;,(,)

version:5.6
author by xijun.liao@dbappsecurity.com.cn

I hope you can fix it

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

2 participants
@liao10086 and others