---------------------------------------------------------------------- Want a new job? http://secunia.com/secunia_security_specialist/ http://secunia.com/hardcore_disassembler_and_reverse_engineer/ ---------------------------------------------------------------------- TITLE: Brim SQL Injection and Script Insertion Vulnerabilities SECUNIA ADVISORY ID: SA31661 VERIFY ADVISORY: http://secunia.com/advisories/31661/ CRITICAL: Less critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: Brim 2.x http://secunia.com/product/19688/ 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 ORIGINAL ADVISORY: http://milw0rm.com/exploits/6332 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------