Multiple Vulnerabilities in Phorum 3.4.5

From: Calum Power (enune_at_fribble.net)
Date: 01/05/04

  • Next message: Conectiva Updates: "[CLA-2004:800] Conectiva Security Announcement - lftp"
    Date: Tue, 6 Jan 2004 09:03:37 +1100 (EST)
    To: bugtraq@securityfocus.com
    
    
    

    Phorum 3.4.5 Vulnerabilities

    -----------------------------
    Credit:
    Author: : Calum Power
    Version(s) : <= 3.4.5
    Vendor : Phorum
    Vendor URL : http://phorum.org

    Vendor Contacted: Yes
    Vendor Fix: Phorum has released Phorum v3.4.6 as a response to this
    advisory. Please patch your vulnerable software ASAP.

    Vulnerabilitiy:
    Type: Cross-Site Scripting, SQL Injection
    Severity: Moderately Critical

    Summary:
    Phorum versions prior to 3.4.6 are vulnerable to cross-site scripting and
    SQL injection bugs that could allow for the remote compromise of any
    server running the affected software.

    Details:
    VULN #1:
        An XSS vulnerability exists in the script 'common.php' that allows
    arbitrary code
        execution on the client-side browser.
        Ironically, this vulnerability is in the 'phorum_check_xss()' function.
        The vulnerable code is below:
            if(!is_array($value) && $key!="body" && $key!="subject" &&
    $key!="hide" && stristr($value, "<script")){
                echo "script detected in $key";
        By sending a HTTP/POST variable to any Phorum script, an attacker
    could craft the key of the variable into
        an XSS attack, providing the value of the variable contains the string
    "<script".

        *** This vulnerability has been fixed in Phorum 5.0.2alpha. ***

        Severity: Medium - This vulnerability may be exploited to obtain user
    login details, spam, or perform social-engineering upon the user.

    VULN #2:
        Another XSS vulnerability exists in the script 'profile.php'. This
    vulnerability exists via insufficient
        sanitization of the variable 'EditError'. If a user is logged on, an
    attacker could use this vulnerability
        to include arbitrary code on the user's browser.
        NOTE: Phorum (common.php) does checks for '<script>' tags, however XSS
    attacks are NOT limited to just the
        <script> tags! An attacker could use many forms of XSS (such as
    <iframe>) to launch attacks upon users.
        *** This vulnerability has been fixed in Phorum 5.0.2alpha. ***

        Severity: Medium/Low - This can only be exploited when the user is
    logged on, but as such could be used to reset passwords, or change any
    other user info without the user knowing.

    VULN #3:
        Once again, there is an XSS vulnerability in the script 'login.php'
    that may allow attackers to execute
        arbitrary code in the users' browser (Woah, deja moo...)
        This exploit is due to (again) the 'Error' variable not being
    sanitized correctly.
        I have created Proof-of-Concept code (using an <iframe>) that allows
    for the stealing of user passwords as they are
        submitted into the form.
        *** This vulnerability has been fixed in Phorum 5.0.2alpha. ***

        Severity: High/Critical - Due to the nature of the page, sensitive
    form values could be harvested by an attacker.

    VULN #4:
        A SQL Injection vulnerability exists in the script 'register.php' in
    the field 'hide_email'.
        This vulnerability could lead to the execution of SQL commands inside
    the script.
        *** This code appears to not exist in Phorum 5.0.2alpha, so is
    therefore fixed. ***

        Severity: High - Due to the location in which the SQL injection
    variable is placed, it is increasingly hard to exploit this
    vulnerability to obtain any sort of privilege escalation.

    --
    Information Security is like decent coffee - When you have it it's
    blissful, but it disappears just as you get a taste for it.
    
    



  • Next message: Conectiva Updates: "[CLA-2004:800] Conectiva Security Announcement - lftp"

    Relevant Pages

    • [NT] Cross Site Scripting and Memory Leak Vulnerabilities in ISA Server
      ... Cross Site Scripting and Memory Leak Vulnerabilities in ISA Server ... * A denial of service vulnerability involving the H.323 Gatekeeper ... if an attacker repeatedly sent such data, ... page or one that generates an error; and it contains script within the ...
      (Securiteam)
    • Microsoft Security Bulletin MS02-023
      ... > - A cross-site scripting vulnerability in a Local HTML ... > attacker's script injected into the local resource, ... > could allow an attacker to read, but not add, delete ... > that would deliver that cookie to the user's system ...
      (microsoft.public.security)
    • [UNIX] Multiple Vulnerabilities in Phorum (common.php, common.php, login.php, register.php)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Phorum is "an Open Source web based discussion ... An XSS vulnerability exists in the script 'common.php' that allows ... By sending a HTTP/POST variable to any Phorum script, ...
      (Securiteam)
    • [ Positive Technologies #SA] Phorum "location" HTTP Response Splitting Vulnerability
      ... Phorum "location" HTTP Response Splitting Vulnerability. ... This vulnerability was discovered by Positive Technologies using MaxPatrol - intellectual professional security scanner. ... MaxPatrol's intelligent algorithms are also capable to detect a lot of vulnerabilities in custom web-scripts (XSS, SQL and code injections, HTTP Response splitting). ... Poisoning, Browser cache poisoning, Hijacking pages with user-specific information and etc... ...
      (Bugtraq)
    • Multiple Vulnerabilities in Phorum 3.4.5
      ... Phorum 3.4.5 Vulnerabilities ... Vendor URL: http://phorum.org ... Another XSS vulnerability exists in the script 'profile.php'. ...
      (Bugtraq)