[UNIX] PHPKit SQL Injection and XSS Vulnerabilities

From: SecuriTeam (support_at_securiteam.com)
Date: 11/23/04

  • Next message: SecuriTeam: "[NEWS] Halo Broadcast Client Crash"
    To: list@securiteam.com
    Date: 23 Nov 2004 18:17:57 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      PHPKit SQL Injection and XSS Vulnerabilities
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.phpkit.de> PHPKIT is "a modular developed homepage software
    which enables simple management messages contents, guest book, forums and
    more".

    Due to improper sanity validation checks it is possible for an attacker to
    manipulate an SQL query and launch cross site scripting attacks.

    DETAILS

    Vulnerable Systems:
     * PHPKit version 1.6.03 to 1.6.1 inclusive

    The cross site scripting attack is viable through the exploitation of the
    'img' HTTP parameter in the 'popup.php' script. Example:
    http://www.target.com/phpkit/popup.php?img="><scr!pt>alert(document.cookie)</scr!pt>

    Manipulation of the SQL command sent to the database is possible via the
    'id' parameter in the 'include.php' script. Example:
    http://www.target.com/phpkit/include.php?path=guestbook/print.php&id=1'

    The relevant piece of code is:
    <?php
    if (isset($_REQUEST['id'])) $id=$_REQUEST['id'];
    $gbookinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gbook']."
    WHERE gbook_id='".$id."' LIMIT 1"));
    eval ("\$site_body.= \"".getTemplate("guestbook/print")."\";");
    ?>

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:steve01@chello.at> Steve.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NEWS] Halo Broadcast Client Crash"

    Relevant Pages

    • [UNIX] Multiple Vulnerabilities MetaDot Portal Server
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... SQL Injection: ... query he can cause an error message to execute script into an unsuspecting ... users browser thus causing a Cross Site Scripting attack. ...
      (Securiteam)
    • [UNIX] Multiple Vulnerabilities in XMB Forum (CSS, SQL Injection, Administrative Password Disclosure
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... A cross site scripting bug exists in u2u.php as well. ... An SQL injection and a cross site-scripting bug in member.php (only ... Yet more SQL injections and XSS vulnerabilities exists, ...
      (Securiteam)
    • [UNIX] Multiple Vulnerabilities in Moodle (view.php, file.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 ... Cross Site Scripting in /mod/forum/view.php ... session ID we can use cross site scripting vulnerability. ... Session File Disclosure vulnerability is patched in version 1.4.3. ...
      (Securiteam)
    • [UNIX] Cyphor Multiple Security Vulnerabilities (SQL Injection and CSS)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... normal users, moderators and administrators. ... SQL Injection in 'Forgot Password Interface': ... The following URL will trigger an cross site scripting attack against ...
      (Securiteam)
    • [UNIX] Multiple Vulnerabilities in NukeBookmarks (Full path disclosure, Cross Site Scripting, SQL I
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Cross Site Scripting and SQL Injection ... Full Path Disclosure Vulnerability: ...
      (Securiteam)