Multiple vulnerabilities have been reported in the Chat module for activeCollab, which can be exploited by malicious users to conduct script insertion and SQL injection attacks and compromise a vulnerable system.
1) Input passed via chat messages is not properly sanitised in activecollab/application/modules/chat/functions/html_to_text.php before calling the "preg_replace()" function with the "e" modifier. This can be exploited to execute arbitrary PHP code.
2) Input passed via the "chatHistoryStart" parameter to public/index.php (when "path_info" is set to "/chat/history_show/1") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) Input passed via the "message[message_text]" POST parameter to public/index.php when posting a chat message is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
The vulnerabilities are reported in versions prior to 1.5.2.
Solution: Update to version 1.5.2.
Provided and/or discovered by: Andrew Horton, Steven Seeley, and Pedram Hayati, Stratsec.
Original Advisory: activeCollab Chat Module:
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