1. Skip to navigation
  2. Skip to content
  3. Skip to secondary-content




Contenido Cross-Site Scripting and File Inclusion Vulnerabilities

Report ID: SA30683
Source: Secunia
Date of Discovery: 16.06.2008
Criticality: Urgent
Affects:
Contenido 4.x

Compromise From: From remote
Compromise Type: Exposure of system information
Exposure of sensitive information
System access
Cross site scripting

Summary

Multiple vulnerabilities has been discovered in Contenido, which can be exploited by malicious people to conduct cross-site scripting attacks, disclose sensitive information, or compromise a vulnerable system.

Detailed Description

Multiple vulnerabilities has been discovered in Contenido,  which can be exploited by malicious people to conduct cross-site scripting attacks, disclose sensitive information, or compromise a vulnerable system.

1) Input passed to the "contenido_path" parameter in contenido/backend_search.php, to the "cfg[path][contenido]" parameter in contenido/cronjobs/move_articles.php, contenido/cronjobs/move_old_stats.php, contenido/cronjobs/optimize_database.php, contenido/cronjobs/run_newsletter_job.php, contenido/cronjobs/send_reminder.php, contenido/cronjobs/session_cleanup.php, contenido/cronjobs/setfrontenduserstate.php, contenido/includes/include.newsletter_jobs_subnav.php, and contenido/plugins/content_allocation/includes/include.right_top.php, to the "cfg[path][templates]" parameter in contenido/includes/include.newsletter_jobs_subnav.php and contenido/plugins/content_allocation/includes/include.right_top.php, and to the "cfg[templates][right_top_blank]" parameter in contenido/plugins/content_allocation/includes/include.right_top.php and contenido/includes/include.newsletter_jobs_subnav.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources.

Successful exploitation from external resources requires that "allow_url_fopen" and "allow_url_include" are enabled.

2) Input passed to the "contenido", "Belang", and "username" parameters in contenido/index.php is not properly sanitised before being returned to a user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in version 4.8.4. Other versions may also be affected.

Solution

Edit the source code to ensure that input is properly sanitised.

Original Reference

-