Document Title: =============== Woltlab Burning Board 3.1.5 - Full Path Disclosure [2nd Party] References (Source): ==================== http://www.exploit-db.com/exploits/17413/ Release Date: ============= 2011-06-18 Vulnerability Laboratory ID (VL-ID): ==================================== 205 Product & Service Introduction: =============================== You are tired of static content in a dynamic world and would like to reach out to your users? Create a platform for a sincere exchange of thoughts or even a whole community? We are glad to provide you our solution for this and all other kind of problems: Burning Board, our modern discussion platform software. Take a look at our references and let our customers convince you of our flexible software. Nevertheless we are constantly improving our software to fit your needs and if you miss some handy features, feel free to contact us. Our latest version includes over 100 customer-suggested features. Modern and standards-compilant We have created the latest version of our software Burning Board completely from scratch and mixed in the state-of-the-art technology and a contemporary design. Our board software outranks any user expectations with it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s surpassing usability! The user interface provides all modern conveniences and is still clearly structured, guaranteeing a long-term positive experience for your users. We focused our development on modern web standards and created flexible layouts using both XHTML and CSS. Awesome functionality Our product includes contemporary multilingualism, easy to manage add-ons and a built-in search engine optimization out of the box. Think ahead and take a deep look at our software\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s functionality. (Copy of the Vendor Homepage: http://www.woltlab.com/wbb/) Abstract Advisory Information: ============================== linc0ln.dll detected a Full Path Disclosure Vulnerability on the new Woltlab Burning Board v3.5.x Vulnerability Disclosure Timeline: ================================== 2011-06-18: Vendor Notification 2011-06-19: Public or Non-Public Disclosure Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== Low Technical Details & Description: ================================ A Full path Disclosure Vulnerability is detected on the new Woltlab Burning Board v3.1.5 application. The Bug allows an attacker to see the full path of the complete server web folder. Vulnerable Module(s): [+] index - ?s[]=FPD --- Exception Logs --- Fatal error: PHP warning in file /var/www/woltlab/www/forum/wcf/lib/system/database/MySQLDatabase.class.php (231): mysql_real_escape_string() expects parameter 1 to be string, array given Information: error message: PHP warning in file /var/www/woltlab/www/forum/wcf/lib/system/database/MySQLDatabase.class.php (231): mysql_real_escape_string() expects parameter 1 to be string, array given error code: 0 file: /var/www/woltlab/www/forum/wcf/lib/system/WCF.class.php (281) php version: 5.3.3-7+squeeze1 wcf version: 1.1.7 (Tempest) date: Mon, 20 Jun 2011 06:31:20 +0000 request: /index.php?s[]=FPD referer: Stacktrace: #0 [internal function]: WCF::handleError(2, mysql_real_esca..., /var/www/woltla..., 231, Array) #1 /var/www/woltlab/www/forum/wcf/lib/system/database/MySQLDatabase.class.php(231): mysql_real_escape_string(Array, Resource id #36) #2 /var/www/woltlab/www/forum/wcf/lib/core.functions.php(19): MySQLDatabase->escapeString(Array) #3 /var/www/woltlab/www/forum/wcf/lib/system/session/Session.class.php(101): escapeString(Array) #4 /var/www/woltlab/www/forum/wcf/lib/system/session/SessionFactory.class.php(98): Session->__construct(Array) #5 /var/www/woltlab/www/forum/wcf/lib/system/session/SessionFactory.class.php(68): SessionFactory->getExistingSession(Array) #6 /var/www/woltlab/www/cms/lib/system/WCMSCore.class.php(75): SessionFactory->get() #7 /var/www/woltlab/www/cms/lib/system/WCMSCore.class.php(33): WCMSCore->initSession() #8 /var/www/woltlab/www/cms/global.php(18): WCMSCore->__construct() #9 /var/www/woltlab/www/index.php(7): require_once(/var/www/woltla...) #10 {main} Pictures: [+] poc.png Proof of Concept (PoC): ======================= For demonstration or reproduce ... PoC: http://[server]/[index][PHP]?[P][]=[C] References: http://www.woltlab.com/index.php?s[]=FPD http://board.metin2.pl/index.php?s[]=FPD Security Risk: ============== The security risk of the full path disclosure error is estimated as low. Credits & Authors: ================== linc0ln.dll Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory