header-logo
Suggest Exploit
vendor:
SyndeoCMS
by:
Ivano Binetti
7,5
CVSS
HIGH
Persistent XSS
79
CWE
Product Name: SyndeoCMS
Affected Version From: 3.0.01 and lower
Affected Version To: 3.0.01 and lower
Patch Exists: YES
Related CWE: CVE-2012-1979
CPE: a:syndeocms:syndeocms:3.0.01
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Debian Squeeze (6.0)
2012

SyndeoCMS <= 3.0.01 Persistent XSS

SyndeoCMS 3.0.01 (and lower) is prone to a persistent XSS vulnerability due to an improper input sanitization of 'email' parameter, passed to server side logic (path: 'starnet/index.php') via http POST method. Exploiting this vulnerability an authenticated user - which is able to change his profile settings - could insert arbitrary code in 'Site email' field that will be executed when another admin or user clicks on that user'profile.

Mitigation:

Input validation and sanitization should be implemented to prevent XSS attacks.
Source

Exploit-DB raw data:

+---------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title    : SyndeoCMS <= 3.0.01 Persistent XSS
# Date             : 29-03-2012
# Author           : Ivano Binetti (http://ivanobinetti.com)
# Vendor site      : http://www.syndeocms.org/
# Software link    : http://sourceforge.net/projects/syndeocms
# Version          : 3.0.01 and lower 
# Tested on        : Debian Squeeze (6.0) 
# CVE              : CVE-2012-1979
# Original Advisory: http://www.webapp-security.com/2012/03/syndeocms/
+---------------------------------------------------------------------------------------------------------------------------------+
Summary
1)Introduction
2)Description
3)Exploit
+---------------------------------------------------------------------------------------------------------------------------------+
1)Introduction
SyndeoCMS is a "Content Management System (CMS) for primary schools, which helps you manage and maintain your website. It can also
be a very usefull CMS for small companies or non profit organizations".

2)Description
SyndeoCMS 3.0.01 (and lower) is prone to a persistent XSS vulnerability due to an improper input sanitization of 
"email" parameter, passed to server side logic (path: "starnet/index.php") via http POST method. 
Exploiting this vulnerability an authenticated user - which is able to change his profile settings - could insert arbitrary 
code in "Site email" field that will be executed when another admin or user clicks on that user'profile.

3)Exploit 
Insert the following code in "Email address" field under  
"starnet/index.php?option=configuration&suboption=users&modoption=edit_user&user_id=<user_id_number>":
email@email.com"><script>alert(document.cookie)</script>

+---------------------------------------------------------------------------------------------------------------------------------+