Java Search Engine contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate "q" parameter variables upon submission to the "search.jsp" script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
Classification
Location:
Remote / Network Access
Attack Type:
Input Manipulation
Impact:
Loss of Integrity
Exploit:
Exploit Public
OSVDB:
Web Related
Solution
Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by reviewing the source code to ensure that input is properly sanitised.