bBlog Input Validation Flaw in Blog Name Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1009564
|
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Mar 26 2004
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 0.7.2
|
Description: An input validation vulnerability was reported in bBlog. A remote user can conduct cross-site scripting attacks.
penfold reported that the software does not filter HTML code from administrator-supplied input in the blog name. A remote user can
create HTML code that, when loaded by an authenticated administrator, will inject specially crafted scripting code into a blog name.
Then, when a target user views the blog, the injected arbitrary scripting code will be executed by the target user's browser. The
code will originate from the site running the bBlog software and will run in the security context of that site. As a result, the
code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access
data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
bBlog software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as
the target user.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: www.bblog.com/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any)
|
Reported By: <penfold@dlofnep.com>
|
Message History:
None.
|
Source Message Contents
|
Date: 26 Mar 2004 20:08:45 -0000
From: <penfold@dlofnep.com>
Subject: bblog 0.7.2 cross site scripting
|
Introduction:
Bblog, a blogging system scripted in PHP does not perform sufficient filtering when submitting a blog name. The severity of this flaw
however, is low as the required privileges to access the administration panel for bblog is superuser .
The problem:
The flaw lies in bblog/index.php?b=options, where an *evil* attacker can quite possibly hijack a sess ion. Submitting the blog name
with the value of "< script >alert(document.cookie);< / script >" will insert this into the title of the blog, which in turn, speaks
for itself.
Fix:
Filter the value of the blog name to disallow any html insertion.
Kind Regards,
penfold
http://www.dlofnep.com
|
|