Secunia Logo  
 
Brim SQL Injection and Script Insertion Vulnerabilities
Secunia Advisory: SA31661
Release Date: 2008-09-01
Last Update: 2008-09-29
Popularity: 1,248 views

Critical:
Less critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:Brim 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4082
CVE-2008-4083


Description:
Fisher762 has discovered two vulnerabilities in Brim, which can be exploited by malicious users to conduct script insertion and SQL injection attacks.

1) Input passed to the "value" parameter in index.php (when "plugin" is set to "tasks" and "action" to "searchTasks") 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 allows e.g. retrieval of administrator usernames and password hashes, but requires valid user credentials and that "magic_quotes_gpc" is disabled.

2) Input passed to the "name" parameter in index.php (when "plugin" is set to "bookmarks" and "action" to "addItemPost") is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed.

Successful exploitation of this vulnerability requires that both the attacker and the victim have valid user credentials.

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

Solution:
Edit the source code to ensure that input is properly sanitised. Grant user access to trusted people only.

Provided and/or discovered by:
Fisher762

Changelog:
2008-09-29: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/6332


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

Today
New advisories: 1
New vulnerabilities: 1
Updated advisories: 2


5th Jan, 2009
New advisories: 15
New vulnerabilities: 33
Updated advisories: 65

Moderately // 427 views
NPDS Multiple Vulnerabilities

Solutions | More...  


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. Public Media Manager "indir" File Inclusion // 45 views
2. Samba Root File System Access Security Issue // 42 views
3. Internet Explorer Data Binding Memory Corruption Vulnerability // 27 views
4. NPDS Multiple Vulnerabilities // 25 views
5. Links SSL Verification Security Issue // 24 views
6. Apache Roller "q" Cross-Site Scripting Vulnerability // 23 views
7. Red Hat update for kernel // 22 views
8. PhpMesFilms "id" SQL Injection Vulnerability // 19 views
9. phpSkelSite File Inclusion and Cross-Site Scripting Vulnerabilities // 19 views
10. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 19 views