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
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: Brim SQL Injection and Script Insertion Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.