SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

phpMyChat Multiple XSS vulnerabilities.


Arrow  SecurityAlert : 221
Arrow  CVE : CVE-2005-3991
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : Louis Wang
Arrow  Published : 03.12.2005

Arrow  Affected Software : phpMyChat 0.14.6



Arrow  Advisory Content :  

phpMyChat Multiple XSS vulnerabilities.

I. BACKGROUND
phpMyChat is an easy-to-install, easy-to-use multi-room chat based on PHP
and a database, supporting MySQL, PostgreSQL, and ODBC.

II. DESCRIPTION
phpMyChat 0.14.6 start_page.css.php, style.css.php, users_popupL.php are
prone to Cross-site Scripting(XSS) vulnerability. A remote attacker could
get cookie-based credential information with a specially-crafted URL or
execute arbitrary web script or HTML.

III. PUBLISH DATE
2005-12-2

IV. AUTHOR
Louis Wang, Fortinet Security Research Team (FSRT)(secresearch at fortinet
dot com.)

V. AFFECTED SOFTWARE
phpMyChat 0.14.6 is confirmed to be affected.
Older versions are not verified.

VI. ANALYSIS
in start_page.css.php and style.css.php
if (!isset($medium) || $medium == "") $medium = 10;
$large = round(1.4 * $medium);
$small = round(0.8 * $medium);
Parameter $medium is not carefully validated.

in users_popupL.php
<A HREF="<?php echo("$From?Ver=L&L=$L"); ?>" TARGET="_blank"><?php
echo(L_CHAT); ?></A>
Parameter $From is not carefully validated.

VII. Proof of Concept
http://victimhost/phpmychat/chat/config/start_page.css.php?medium=><scri
pt>alert(29837274289742472);</script>&FontName=1
http://victimhost/phpmychat/chat/config/style.css.php?medium=><script>al
ert(29837274289742472);</script>&FontName=1
http://victimhost/phpmychat/chat/users_popupL.php?From="><script>alert(2
9837274289742472);</script>>&L=english&LastCheck=1133281246&B=0

VIII. SOLUTION
Input validation will fix the vulnerability.

IX. ADVISORY
http://www.fortinet.com/FortiGuardCenter/idp.html#fsa

X. REFERENCE
http://phpmychat.sourceforge.net/





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.