paFileDB Input Validation Flaw Lets Remote Users Conduct Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1005458 |
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Oct 22 2002
|
Impact: Disclosure of authentication information, Execution of arbitrary code via network, Modification of user information, User access via network
|
Exploit Included: Yes
|
Description: Several input validation flaws were reported in the paFileDB web site file management software. A remote user can conduct cross-site scripting attacks against paFileDB users.
A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed
by the target user's browser. The code will originate from the site running paFileDB 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.
According to the report, the "Rate File", "Email to Friend", and "Download" functions are affected.
Some
demonstration exploit URLs are provided:
http://ersatz.n3t.net/downloads/pafiledb.php?action=rate&id=4?"<script>alert('Testing')</script>"
http://ersatz.n
3t.net/downloads/pafiledb.php?action=email&id=4?"<script>alert('Testing')</script>"
http://ersatz.n3t.net/downloads/pafiledb.php?action=download&id=4?"<sc
ript>alert('Testing')</script>"
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running paFileDB,
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.phparena.net/pafiledb/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any)
|
Reported By: <ersatz@unixhideout.com>
|
Message History:
None.
|
Source Message Contents
|
Date: 20 Oct 2002 23:41:24 -0000
From: <ersatz@unixhideout.com>
Subject: XSS vulnerabilites in Pafiledb
|
[INTRO]
Some of you may be familiar with Pafiledb provided by
PHP arena. Well they just released a new version that
fixed a problem with their counting of files. Along
with that they said they fixed a possible security bug
involving using Javascript as a search string. I
checked it on my old version and it is infact there, so
I updated to the new version so the bugs can be fixed
and I checked it and it no longer works. I figured
where there is one there are bound to be others so I
went searching.
[Discovery]
I discoverd that there are three other XSS
vulnerabilities within the software wich can be
performed by editing the URL of three different sections.
AFFECTED:
* Rate File
* Email to Friend
* Download
UNAFFECTED:
* Stats
[Exploit]
http://ersatz.n3t.net/downloads/pafiledb.php?action=rate&id=4?"<script>alert(' Testing')</script>"
http://ersatz.n3t.net/downloads/pafiledb.php?action=email&id=4?"<script>alert( 'Testing')</script>"
http://ersatz.n3t.net/downloads/pafiledb.php?action=download&id=4?"<script>ale rt('Testing')</script>"
I discovered this by clicking at first the link to
email to a friend and then removed everything out of
the URL after &id=4 and added
?<script>alert('Testing')</script>" and just as i
expected it worked. I moved on to email to a friend the
same way and it worked and then I proceded to make the
change
action=download&id=4?"<script>alert('Testing')</script>"
and again it worked. I then decided to check stats and
to my surprise there it did not work.
[END]
I have not contacted php arena as of yet but i am about
to, hopefully since they fixed it in the search feild
all they should have to do is release the code or apply
it themselves and then come out with an update. Wich
shouldnt take long. I hope
Another XSS vulnerability provided by ersatz
ersatz@n3t.net
http://ersatz.n3t.net :: A nice place to chill out and
learn something new
|
|