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

SQL Injection Vulnerability in controller/fetchpwd.php #1

Open
TomAPU opened this issue Jan 19, 2019 · 0 comments
Open

SQL Injection Vulnerability in controller/fetchpwd.php #1

TomAPU opened this issue Jan 19, 2019 · 0 comments

Comments

@TomAPU
Copy link

TomAPU commented Jan 19, 2019

In controller/fetchpwd.php
2019-01-19-225422_457x392_scrot

the parameter was added with a string "username=" ,passed to function find

In the definition of function find,we can notice that though the author use PDO, he didn't use Prepared technique to avoid SQL injection vulnerability. What a pity!
2019-01-19-225526_566x228_scrot

After analyzing these codes,we can simply use sqlmap to exploit the vulnerability and have fun!
2019-01-19-231950_878x370_scrot

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