Hotels_Server
Hotels_Server copied to clipboard
SQL Injection Vulnerability in controller/fetchpwd.php
In controller/fetchpwd.php
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!
After analyzing these codes,we can simply use sqlmap to exploit the vulnerability and have fun!