Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | YA Book 0.98 Persistent XSS |
|---|---|
| Date: | 24 Apr 2007 15:28:29 -0000 |
. . .
._ | _. .|_ _. _.;_/
[_)|(_]\_|[ )(_](_.| \.net
| ._|
"YA Book 0.98-alpha - Persistent XSS Vulnerability"
by Omni
1) Infos
---------
Date : 2007-04-23
Product : YA Book
Version : 0.98-alpha - Prior version maybe also be affected
Vendor : http://sourceforge.net/projects/yabook - http://www.phpee.com/
Vendor Status : 2007-04-23 -> Not Informed!
2007-04-24 -> Informed!
Description : YaBook- Ya Book! ...or yet another guestbook. YaBook is a
simple but powerful guestbook running on PHP
5. It features easy installation and customization,
multi-language support, and an administration
interface. Various database systems are supported.
Google Dork : Powered by YaBook 0.98-alpha - "Powered by YaBook 0.98-alpha"
Source : omnipresent - omni
E-mail : omnipresent[at]email[dot]it - omni[at]playhack[dot]net
Team : Playhack.net Security
2) Security Issues
-------------------
--- [ Remote Persistent XSS ] ---
=================================
YA Book is vulnerable to an XSS. A malicous user can put in the City Field HTML
or JS code
(in sigin module: http://host/path/index.php?mode=sign) as shown below:
Eg script:
<script>alert("XSS")</script>
The vulnerability exist because the city field is not properly sanitized before
being used!
--- [ PoC ] ---
===============
A guest can posts a new message and after put the right captcha :D he can puts
in the city field a code like:
<script>location.href="http://host.com"</script>
for a redirect with JS or.. he can injects other (eg: HTML, JS) codes..
3) Patch
--------
Edit the source code to ensure that the input is properly sanitized before
being used.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Full-disclosure] [ GLSA 200704-21 ] ClamAV: Multiple vulnerabilities, Matthias Geerdsen |
|---|---|
| Next by Date: | gallery >> 1.5.6 Remote File Inclusion, s433d_only_linux |
| Previous by Thread: | [Full-disclosure] [ GLSA 200704-21 ] ClamAV: Multiple vulnerabilities, Matthias Geerdsen |
| Next by Thread: | gallery >> 1.5.6 Remote File Inclusion, s433d_only_linux |
| Indexes: | [Date] [Thread] [Top] [All Lists] |