SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


Try our Premium Alert Service
 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service





Category:   Application (Generic)  >   pisg Vendors:   pisg.sourceforge.net
pisg IRC Statistics Generator Input Validation Flaw in 'nick' Lets Remote Users Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1009907
SecurityTracker URL:  http://securitytracker.com/id/1009907
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Updated:  Apr 26 2004
Original Entry Date:  Apr 22 2004
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): not reported, but 0.54 was the latest version at the time of this entry
Description:   A vulnerability was reported in the pisg statistics generator. A remote user can conduct cross-site scripting attacks.

shr3kst3r at hushmail.com reported that the software does not filter HTML code from user-supplied input in the 'nick' field when parsing log files. A remote user can use a specially crafted nickname on IRC. Then, when the target user views a report generated by pisg, arbitrary scripting code will be executed by the target user's browser. The code will originate from the site displaying the pisg report and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site hosting pisg reports, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   No solution was available at the time of this entry.
Vendor URL:  pisg.sourceforge.net/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [Full-Disclosure] pisg XSS


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=========================================================================
= pisg XSS
=========================================================================

pisg is an IRC channel statics generator written in Perl, it creates
statistics from different logfile formats. It was originally written
because IRCStats wasn't open source. So here's an open source/GPL'ed
version to anyone interested. It's a funny thing for your IRC channel,
 and it's highly customizeable.

PROBLEM:
pisg does not sanitize the nick of the user before posting to the web

PROOF:
1. silc
2. /connect silc.net
3. /nick <script>alert(document.domain);</script>
4. /log ...
5. /me a couple of times on a channel
6. /quit
3. then generate stats ./pisg
4. surf the index.html

MORE INFO:
The silc-client, which is an old irssi-client with the silc stuff patched
on, logs in the irssi format which pisg reads, and also silcd allows
strange names like the above "<script>alert(document.domain);</script>".
 But, the major problem is, pisg does not sanitize the nick.  This problem
does not occur when using irssi connected to a regular ircd because the
ircd does not allow the nick.  The "/me <stuff>" is required, a regular
/msg <channel> will
not work.

FIX:
Sanitize everything.

OTHER PROBLEMS:
Could not find a security@pisg.net or anything ressembling it.
I can't spell.
This might affect a whole 3 people in the world.

de14a09207f3f7af64a492b4d1cc0e49
2c8db6262817d6a6225d11437e503c7e
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.4

wkYEARECAAYFAkCHFmkACgkQQdPEZ+t83SAm6gCgg7kn7JohnyOwLQCA0EvahOZs/B8A
oLQkIdqWByGXgLN0FERvG9AlHo35
=rZ/n
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2018, SecurityGlobal.net LLC