Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Phorum Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA24932  
Release Date: 2007-04-20
Last Update: 2007-05-02

Critical:
Less critical
Impact: Cross Site Scripting
Manipulation of data
Privilege escalation
Where: From remote
Solution Status: Partial Fix

Software:Phorum 5.x

CVE reference:CVE-2007-2248 (Secunia mirror)
CVE-2007-2249 (Secunia mirror)
CVE-2007-2250 (Secunia mirror)
CVE-2007-2338 (Secunia mirror)
CVE-2007-2339 (Secunia mirror)



Description:
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 not follow links from untrusted sources and do not browse untrusted sites when logged in as administrator.

Provided and/or discovered by:
Janek Vind "waraxe"

Changelog:
2007-04-27: Added CVE reference.
2007-05-02: Added CVE reference.

Original Advisory:
http://www.waraxe.us/advisory-49.html



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.

10 Related Secunia Security Advisories

1. Phorum Non-Fulltext Search SQL Injection Vulnerability
2. Phorum "admin.php" Cross-Site Scripting Vulnerability
3. Phorum Cross-Site Scripting and Local File Inclusion
4. Phorum Cross-Site Scripting Vulnerability
5. Phorum "forum_ids[]" SQL Injection Vulnerability
6. Phorum "Username" Script Insertion Vulnerability
7. phorum "body" Parameter HTTP Response Splitting
8. Phorum Script Insertion Vulnerabilities
9. Phorum "follow.php" SQL Injection Vulnerability
10. Phorum Unspecified Cross-Site Scripting and SQL Injection


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Apple Safari Cross-Domain Cookie Injection Vulnerability
2.
YouTube Blog Multiple Vulnerabilities
3.
dnsmasq Denial of Service and DNS Cache Poisoning
4.
Moodle Script Insertion and Cross-Site Request Forgery
5.
Asterisk Two Denial of Service Vulnerabilities
6.
Ubuntu update for dnsmasq
7.
Claroline Multiple Cross-Site Scripting Vulnerabilities
8.
Geeklog Forum Plugin Search Cross-Site Scripting Vulnerability
9.
IPCop update for various packages
10.
SocialEngine SQL Injection and Code Execution





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia