Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


bcoos Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA26945  
Release Date: 2007-09-24
Last Update: 2008-03-04

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of system information
Exposure of sensitive information
Where: From remote
Solution Status: Partial Fix

Software:bcoos 1.x

CVE reference:CVE-2007-5104 (Secunia mirror)
CVE-2007-6079 (Secunia mirror)
CVE-2007-6080 (Secunia mirror)
CVE-2007-6266 (Secunia mirror)
CVE-2007-6274 (Secunia mirror)
CVE-2007-6275 (Secunia mirror)
CVE-2007-6365 (Secunia mirror)



Description:
Some vulnerabilities have been discovered in bcoos, which can be exploited by malicious users or malicious people to conduct cross-site scripting and SQL injection attacks, and by malicious people to disclose sensitive information.

1) Input passed to the "gid" parameter in modules/arcade/index.php (when "act" is set to "play_game" or "show_stats") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that the Arcade module is installed and that the attacker has access to the Arcade module (may or may not require valid user credentials).

2) Input passed to the "bid" parameter in modules/banners/click.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that the Banners module is installed and that the attacker has access to the Banners module (may require valid user credentials).

3) Input passed to the "xoopsOption[pagetype]" parameter in modules/news/index.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks.

Successful exploitation of this vulnerability with arbitrary file extensions requires that "magic_quotes_gpc" is disabled.

4) Input passed to the "day", "month", and "year" parameters in modules/ecal/display.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation of these vulnerabilities requires that the Event Calendar module is installed and that the target user has access to the Event Calendar module (may require valid user credentials).

5) Input passed to the "lid" parameter in modules/mylinks/ratelink.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that the Web Links module is installed and that the attacker has access to the Web Links module (may or may not require valid user credentials).

6) Input passed to the "lid" parameter in modules/adresses/ratefile.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that the Addresses module is installed and that the attacker has access to the Addresses module (may or may not require valid user credentials).

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

Solution:
Update to version 1.0.12, which fixes vulnerabilities #1-4.

Use another product.

Provided and/or discovered by:
1) nights shadow and Lostmon
2,3) trueend5
4) Lostmon and an anonymous person
5,6) Lostmon

Changelog:
2007-09-28: Added CVE reference.
2007-11-21: Added vulnerability #2 and #3.
2007-11-28: Added CVE reference.
2007-11-29: Added vulnerability #4 and #5. Updated vulnerability #1.
2007-12-03: Added vulnerability #6.
2007-12-07: Added CVE reference.
2007-12-18: Added CVE reference.
2008-03-04: Updated "Solution" section.

Original Advisory:
2,3) http://milw0rm.com/exploits/4637
1,4,5) http://lostmon.blogspot.com/2007/11/bcoops-sql-injection-and-cross-site.html
6) http://lostmon.blogspot.com/2007/11/bcoops-adressesratefilephp-lid-variable.html



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

1 Related Secunia Security Advisories

1. bcoos "file" Information Disclosure Vulnerability


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Linux Kernel LDT Buffer Size Handling Vulnerability
2.
Drupal Session Fixation Vulnerability
3.
OpenBSD BIND Query Port DNS Cache Poisoning
4.
Ubuntu update for php
5.
IPCop update for perl
6.
Red Hat update for kernel
7.
Slackware update for dnsmasq
8.
Fedora update for asterisk
9.
Red Hat update for thunderbird
10.
Debian update for xulrunner





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia