============================================================
WebsiteBaker 2.8.1 <= Arbitrary File Upload Vulnerability
============================================================
1. OVERVIEW
WebsiteBaker 2.8.1 and lower versions are vulnerable to Arbitrary File Upload.
2. BACKGROUND
WebsiteBaker helps you to create the website you want: A free, easy and secure, flexible and extensible open source content management system (CMS). Create new templates within minutes - powered by (X)HTML, CSS and jQuery. With WebsiteBaker it's quite natural your site is W3C-valid, SEO-friendly and accessible - there are no limitations at all.
3. VULNERABILITY DESCRIPTION
WebsiteBaker 2.8.1 and lower versions contain a flaw related to the /admin/media/upload.php script failing to restrict uploaded files with extensions - .htaccess, .php4, .php5, .phtml. This may allow an attacker to execute arbitrary PHP code. User account to WebsiteBaker admin backend is required. Attacker could gain access it by way of either brute force or CSRFing to currently-logged in admin users.
4. VERSIONS AFFECTED
2.8.1 <=
5. SOLUTION
Upgrade 2.8.2 or higher
6. VENDOR
WebsiteBaker Org e. V.
http://www.websitebaker2.org/
7. CREDIT
This vulnerability was discovered by Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.
8. DISCLOSURE TIME-LINE
2011-01-26: notified vendor
2011-08-01: vendor released fix
2011-08-13: vulnerability disclosed
9. REFERENCES
Original Advisory URL: http://yehg.net/lab/pr0js/advisories/[websitebaker-2.8.1]_arbitrary_file_upload
http://www.gnucitizen.org/blog/cross-site-file-upload-attacks/
#yehg [2011-08-13]
=======================================================================
WebsiteBaker 2.8.1 <= Cross Site Request Forgery (CSRF) Vulnerability
=======================================================================
1. OVERVIEW
WebsiteBaker 2.8.1 and lower versions are vulnerable to Cross Site Request Forgery (CSRF).
2. BACKGROUND
WebsiteBaker is a PHP-based Content Management System (CMS) designed with one goal in mind: to enable its users to produce websites with ease.
3. VULNERABILITY DESCRIPTION
WebsiteBaker 2.8.1 and lower versions contain a flaw that allows a remote Cross-site Request Forgery (CSRF / XSRF) attack. The flaw exists because the application does not require multiple steps or explicit confirmation for sensitive transactions for majority of administrator functions such as adding new user, assigning user to administrative privilege. By using a crafted URL, an attacker may trick the victim into visiting to his web page to take advantage of the trust relationship between the authenticated victim and the application. Such an attack could trick the victim into executing arbitrary commands in the context of their session with the application, without further prompting or verification.
4. VERSIONS AFFECTED
2.8.1 <=
5. PROOF-OF-CONCEPT/EXPLOIT
The following request adds an administrator.
[REQUEST]
POST /admin/users/add.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 193
user_id=&username_fieldname=username_abcdefg&username_abcdefg=test&password=test&password2=test&display_name=test&email=tester%40yehg.net&home_folder=&groups%5B%5D=1&active%5B%5D=1&submit=Add
[/REQUEST]
6. SOLUTION
Upgrade 2.8.2 or higher
7. VENDOR
WebsiteBaker Org e. V.
http://www.websitebaker2.org/
8. CREDIT
This vulnerability was discovered by Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.
9. DISCLOSURE TIME-LINE
2011-01-26: notified vendor
2011-08-01: vendor released fix
2011-08-13: vulnerability disclosed
10. REFERENCES
Original Advisory URL: http://yehg.net/lab/pr0js/advisories/[websitebaker-2.8.1]_cross_site_request_forgery
#yehg [2011-08-13]