IBM WebSphere JSP Source Disclosure / XSS Vulnerabilities
Medium Nessus Network Monitor Plugin ID 2825
SynopsisThe remote host is vulnerable to a flaw that allows attackers to retrieve sensitive files.
DescriptionThe remote WebSphere web server is vulnerable to an information leak. There is a flaw in the way that WebSphere determines the web root directory based on the HTTP 'Host' tag. An application server that has its root web directory defined in the Web Servers root directory may disclose the source of .JSP files. JSP source code often contains information that is useful for further attacks. This version of WebSphere is also vulnerable to a remote Cross-Site Scripting (XSS) attack. An attacker exploiting this flaw would typically need to convince a user to browse to a malicious URI. Successful exploitation would result in the theft of confidential materials (such as authentication cookies).
SolutionUpgrade or patch according to vendor recommendations.