what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

yabook-xss.txt

yabook-xss.txt
Posted Apr 25, 2007
Authored by Omnipresent

YA Book version 0.98-alpha suffers from a persistent cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 402b570826e1cdc2982bcf108c60b73131fe089afc7eb556a360aa1e0b86360c

yabook-xss.txt

Change Mirror Download
  .      .        .  
._ | _. .|_ _. _.;_/
[_)|(_]\_|[ )(_](_.| \.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.









Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close