Vulnerability found:
15 May 2008


Severity level:
Medium


Credits:
Richard Brain of ProCheckUp Ltd (www.procheckup.com)


Description:
Various Orion application server example pages are vulnerable to XSS. Orion application server is a java based web application server, http://www.orionserver.com/.

Note: Orion application server was tested on Windows XP and JRE 1.6.0_14

The following demonstrate XSS:

1) http://10.0.2.177:8080/examples/jsp/sessions/carts.jsp?item=alert(1)&submit=add

2) http://10.0.2.177:8080/examples/jsp/checkbox/checkresult.jsp?fruit=alert(1)

3) http://10.0.2.177:8080/examples/jsp/cal/cal2.jsp?time=alert(1)

Consequences

An attacker may be able to cause execution of malicious scripting code in the browser of a user who clicks on a link to a Orion Application server site. Such code would run within the security context of the target domain. This type of attack can result in non-persistent defacement of the target site, or the redirection of confidential information (i.e.: session IDs) to unauthorised third parties.


How to fix:
Remove sample scripts from live environments.


References:
ProCheckUp Vulnerabilities
http://www.procheckup.com/vulnerability_manager


Legal:
Copyright 2009 Procheckup Ltd. All rights reserved.

Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes.

Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.