Secunia Logo  
 
NOCC Multiple Vulnerabilities and Security Issue
Secunia Advisory: SA16921
Release Date: 2006-02-23
Last Update: 2006-03-02
Popularity: 5,770 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Unpatched

Software:NOCC 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0891
CVE-2006-0892
CVE-2006-0893
CVE-2006-0894
CVE-2006-0895


Description:
rgod has discovered some vulnerabilities and a security issue in NOCC, which can be exploited by malicious users to compromise a vulnerable system, and by malicious people to conduct cross-site scripting attacks and disclose sensitive information.

1) Input passed to the "lang" and "theme" parameters, and "Accept-Language" HTTP header in "index.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.

This can further be exploited to include arbitrary PHP code injected into uploaded mail attachments or user preferences in the "profiles" directory.

2) The problem is that user preferences are stored insecurely in the "profiles" directory inside the web root and can be exposed.

Successful exploitation requires that the settings for the "profiles" directory has been defined as given by the instructions in the configuration file (not enabled by default).

3) Some input isn't 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.

Examples:
http://[victim]/html/error.php?html_error_occurred=[code]
http://[victim]/html/filter_prefs.php?html_filter_select=[code]
http://[victim]/html/no_mail.php?html_no_mail=[code]
http://[victim]/html/html_bottom_table.php?page_line=[code]
http://[victim]/html/html_bottom_table.php?prev=[code]
http://[victim]/html/html_bottom_table.php?next=[code]

It is also possible to disclose the full path to "html/header.php" by accessing it directly.

The vulnerabilities and the security issue have been confirmed in version 1.0. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly verified and move the "profiles" directory out of the web root.

Provided and/or discovered by:
rgod

Changelog:
2006-03-02: Added CVE references.

Original Advisory:
http://retrogod.altervista.org/noccw_10_incl_xpl.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. Nokia Phones SMS Denial of Service Vulnerability // 107 views
2. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 98 views
3. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 85 views
4. Xdg-utils mailcap Command Execution Security Issue // 79 views
5. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 53 views
6. Cisco Global Site Selector DNS Request Denial of Service // 50 views
7. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 45 views
8. Red Hat update for openssl // 36 views
9. Zeroboard Multiple Vulnerabilities // 36 views
10. Winamp gen_msn Plugin Buffer Overflow Vulnerability // 36 views