{"exploit":{"id":"EDB-17551","name":"Oracle Sun GlassFish Enterprise Server - Stored Cross-Site Scripting (XSS)","description":"Oracle Sun GlassFish Enterprise Server - Stored Cross-Site Scripting (XSS)","cves":["CVE-2011-2260"],"author":"Sense of Security","published":"2011-07-20","platform":"jsp","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/17551","path":"exploits/jsp/webapps/17551.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-17551.txt","vulnerabilities":[{"id":"CVE-2011-2260","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unspecified vulnerability in the Oracle GlassFish Server component in Oracle Sun Products Suite 2.1.1 allows remote attackers to affect confidentiality and integrity via unknown vectors related to Administration.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-2260","cvss":{"version":"2.0","baseScore":5.8,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-2260"},"updatedAt":"2024-08-06T22:53:17.279Z","retrievedAt":"2026-11-27T16:11:57.662Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-17551.png?v=2","url":"https://exploitbin.com/exploits/EDB-17551","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-17551/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-17551/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Sense of Security - Security Advisory - SOS-11-009\n\nRelease Date.                  19-Jul-2011\nLast Update.                   -\nVendor Notification Date.      23-Mar-2011\nProduct.                       Oracle Sun GlassFish Enterprise\n                               Server\nPlatform.                      Java EE\nAffected versions.             2.1.1 ((v2.1 Patch06)(9.1_02 Patch12))\n                               (build b31g-fcs) verified and possibly\n                               others\nSeverity Rating.               Medium\nImpact.                        Cookie/credential theft, impersonation,\n                               loss of confidentiality, client-side\n                               code execution\nAttack Vector.                 Remote without authentication\nSolution Status.               Vendor patch\nCVE reference.                 CVE-2011-2260\nOracle Bug ID.                 7030596\n\nDetails.\nGlassFish is an open source application server project led by Sun\nMicrosystems for the Java EE platform. The proprietary version is\ncalled Sun GlassFish Enterprise Server. GlassFish supports all Java EE\nAPI specifications, such as JDBC, RMI, e-mail, JMS, web services, XML,\netc, and defines how to coordinate them.\n\nStored:\nThe log viewer fails to securely output encode logged values. As a\nresult, an unauthenticated attacker can trigger the application to log\na malicious string by entering the values into the username field. This\nwill cause the application to log the incorrect login attempt and\nresults in a stored XSS vulnerability. When an administrator logs into\nthe application and views the log, the malicious code will be executed\nin the client browser. As an example, navigate to:\nhttp://[host]:4848\n\nEnter the below into the login field:\n'>\\\"><script>alert(3);</script>\nWhen the user views the \\\"Search Log Files\\\" page, the above client-side\ncode will be executed in the client browser. The offending script is\nhttp://[host]:4848/logViewer/logViewer.jsf\n\nReflected:\nBy modifying the windowTitle or helpFile variables of\n/com_sun_webui_jsf/help/helpwindow.jsf it is possible to trigger a\nreflected XSS vulnerability. An example is shown below:\n/com_sun_webui_jsf/help/helpwindow.jsf?&windowTitle=Help+Window'>\\\">\n<script>alert(1);</script>&helpFile=commontask.html\n/com_sun_webui_jsf/help/helpwindow.jsf?&windowTitle=Help+Window&\nhelpFile=commontask.html'>\\\"><script>alert(1);</script>\n\nSolution.\nApply the vendor patch.\n\nDiscovered by.\nSense of Security Labs.\n\nAbout us.\nSense of Security is a leading provider of information\nsecurity and risk management solutions. Our team has expert\nskills in assessment and assurance, strategy and architecture,\nand deployment through to ongoing management. We are\nAustralia's premier application penetration testing firm and\ntrusted IT security advisor to many of the country's largest\norganisations.\n\nSense of Security Pty Ltd\nLevel 8, 66 King St\nSydney NSW 2000\nAUSTRALIA\n\nT: +61 (0)2 9290 4444\nF: +61 (0)2 9290 4455\nW: http://www.senseofsecurity.com.au/consulting/penetration-testing\nE: info@senseofsecurity.com.au\nTwitter: @ITsecurityAU\n\nThe latest version of this advisory can be found at:\nhttp://www.senseofsecurity.com.au/advisories/SOS-11-009.pdf","sha256":"eef9b3dab6e791e41e2e5f5b049ae6b9ddf172d2109fef6e3b10339d85e189e6","bytes":3217,"fetchedAt":"2026-11-27T16:11:55.972Z","encoding":"utf-8 (display only; download retains original bytes)"}