Janek Vind has discovered some vulnerabilities in Phorum, which can be exploited by malicious users to conduct SQL injection attacks and to gain escalated privileges, and by malicious people to conduct cross-site scripting and cross-site request forgery attacks.
1) Input passed to the "recipients" parameter in pm.php is not properly sanitised and verified before being used in an SQL query in include/db/mysq.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires valid user credentials.
2) Errors exist due to improper verification of the "$_POST[user_ids]" parameter and the "$userdata" array in include/controlcenter/users.php. This can be exploited to gain admin privileges via a specially crafted POST request.
Successful exploitation requires moderation privileges and that "register_globals" is enabled.
3) Input passed to the "group_id" parameter in admin.php when editing groups and to the "smiley_id" parameter in admin.php when editing smileys is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in an administrative user's browser session in context of an affected site.
4) The problem is caused due to the application allowing administrators to perform certain actions via HTTP requests without performing any validity checks to verify the request. This can be exploited to e.g. change certain settings by enticing logged-in administrator to visit a malicious site.
The vulnerabilities are confirmed in version 5.1.20. Other versions may also be affected.
Solution: Update to version 5.1.22, which fixes vulnerabilities #1 through #3.
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 firstname.lastname@example.org
Subject: Phorum Multiple 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.