Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] JSPWiki Multiple Vulnerabilities

Subject: [UNIX] JSPWiki Multiple Vulnerabilities
Date: 13 Feb 2008 13:10:57 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  JSPWiki Multiple Vulnerabilities
------------------------------------------------------------------------


SUMMARY

 <http://www.jspwiki.org> JSPWiki is "a feature-rich and extensible 
WikiWiki engine built around a standart J2EE components (Java, servlets, 
JSP)". Multiple vulnerabilities have been discovered in JSPWiki, these 
allow access to sensitive files that would be otherwise inaccessible as 
well as the ability to inject arbitrary HTML and/or JavaScript.

DETAILS

Vulnerable Systems:
 * JSPWiki version 2.4.104
 * JSPWiki version 2.5.139

JSPWiki Local .jsp File Inclusion Vulnerability
An input validation problem exists within JSPWiki which allows to execute 
(include) arbitrary local .jsp files. An attacker may leverage this issue 
to execute arbitrary server-side script code on a vulnerable server with 
the privileges of the web server process.

Example (including rss.jsp file from the application root directory):
http://server/JSPWikiPath/Edit.jsp?page=Main&editor=../../../rss

Note: page parameter must be an existing page on the server.

This grants an attacker unauthorized access to sensitive .jsp files on the 
server and can lead to information disclosure.

Examples:
http://server/JSPWikiPath/Edit.jsp?page=User&editor=../../../Install
http://server/JSPWikiPath/Edit.jsp?page=User&editor=../../../admin/SecurityConfig

The first example disclose sensitive information such as the full path of 
the application on the server, page (and attachments) storage path, log 
files and work directory by including the application installation 
(Install.jsp).

The second example disclose the application security configurations by 
including the JSPWiki Security Configuration Verifier file 
(admin/SecurityConfig.jsp).

In addition, JSPWiki allow users to upload (attach) files to entry pages. 
An attacker can use the information disclosed by the installation file to 
upload a malicious .jsp file and locally execute it.

By executing malicious server-side code, an attacker may be able to 
compromise the server.

JSPWiki Cross-Site Scripting Vulnerability
An attacker may leverage cross-site scripting vulnerability to have 
arbitrary script code executed in the browser of an unsuspecting user in 
the context of the affected site. This may facilitate the theft of 
cookie-based authentication credentials as well as other attacks.

Example:
http://server/JSPWikiPath/Edit.jsp?page=Main&editor=%3Cscript%3Ealert(document.cookie)%3C/script%3E


ADDITIONAL INFORMATION

The information has been provided by  <mailto:Eyal@bugsec.com> Eyal 
Gruner.
The original article can be found at:  
<http://www.bugsec.com/articles.php?Security=48&Web-Application-Firewall=0> 
http://www.bugsec.com/articles.php?Security=48&Web-Application-Firewall=0



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


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


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

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] JSPWiki Multiple Vulnerabilities, SecuriTeam <=