Jump to content
KhiZaRix

Java.com Cross Site Scripting

Recommended Posts

Posted

######################################################################

# Exploit Title: Java.com RXSS and DOM-XSS

# Date: 01/04/2015

# Author: Yann CAM @ Synetis - ASafety

# Vendor or Software Link: java.com: Java + You

# Version: /

# Category: Reflected Cross Site Scripting and DOM based XSS

# Google dork:

# Tested on: Java.com main domain

######################################################################

Java description :

======================================================================

As of 2015, Java is one of the most popular programming languages in use, particularly for client-server web applications, with a reported 9 million developers.

Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component

of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.

Java.com is the main website to acquire Java JRE or JDK software.

RXSS Vulnerability description - PoC n°1 :

======================================================================

A reflected XSS is available in the java.com main domain.

Through this vulnerability, an attacker could tamper with page rendering, redirect victims to fake Java portals, or capture Java's users credentials such cookies.

It's also possible to forge a fake Java's page with this XSS to provide a backdoored version of softwares to users.

This reflected XSS is on GET "n" variable and is not properly sanitized before being used to his page.

Tested on Firefox 32.0.

PoC:

https://www.java.com/fr/download/faq/index_general.xml?n=20">2</a><script>alert(/Yann CAM @asafety_www.synetis.com/);</script>?printFriendly=true

Screenshots :

======================================================================

- http://www.asafety.fr/data/20141025-java.com_DOMXSS-01.png

- http://www.asafety.fr/data/20141025-java.com_DOMXSS-02.png

- http://www.asafety.fr/data/20141025-java.com_DOMXSS-03.png

- http://www.asafety.fr/data/20141025-java.com_Reflected_XSS-01.png

- http://www.asafety.fr/data/20141025-java.com_Reflected_XSS-02.png

Solution:

======================================================================

Fixed by Oracle/Java Security Team.

Additional resources :

======================================================================

- http://www.java.com/

- http://www.oracle.com/

- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html

- http://www.asafety.fr/actualites-news/contribution-java-com-dom-xss-reflected-xss

- http://www.synetis.com

Report timeline :

======================================================================

2014-10-25 : Oracle/Java Team alerted with details and PoC.

2014-10-27 : Oracle/Java response and confirm vulnerabilities.

2014-12-23 : Vulnerabilities seems to be fixed.

2015-04-01 : Public advisory

Credits :

======================================================================

88888888

88 888 88 88

888 88 88

788 Z88 88 88.888888 8888888 888888 88 8888888.

888888. 88 88 888 Z88 88 88 88 88 88 88

8888888 88 88 88 88 88 88 88 88 888

888 88 88 88 88 88888888888 88 88 888888

88 88 88 8. 88 88 88 88 88 888

888 ,88 8I88 88 88 88 88 88 88 .88 .88

?8888888888. 888 88 88 88888888 8888 88 =88888888

888. 88

88 www.synetis.com

8888 Consulting firm in management and information security

Yann CAM - Security Consultant @ Synetis | ASafety

--

SYNETIS | ASafety

CONTACT: www.synetis.com | www.asafety.fr

Source: http://packetstorm.wowhacker.com/1504-exploits/javacom-xss.txt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...