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

adv10-xeobook.txt

adv10-xeobook.txt
Posted Oct 18, 2006
Authored by Tamriel

Xeobook versions 0.93 and below suffer from multiple SQL injection vulnerabilities.

tags | advisory, vulnerability, sql injection
SHA-256 | 5795b955058af528726994b032f50a36358db861e2b5d25c49bdcbbe7ca123cc

adv10-xeobook.txt

Change Mirror Download
      Advisory: Xeobook <= 0.93 Multiple SQL Injection Vulnerabilities
Release Date: 10/12/2006
Last Modified: 10/12/2006
Author: Tamriel [tamriel at gmx dot net]
Application: Xeobook <= 0.93
Risk: Moderate
Vendor Status: not contacted
Vendor Site: www.xeoman.com | www.xeoman.de


Overview:

Quote from www.xeoman.de:

"Xeobook is a highly customizable, easy to setup, secure guestbook
script based on PHP4 and MySQL. If you like a clean and fully
customizable layout this might be worth a try."

There are some SQL injection vulnerabilities which can be
exploited by malicious people to conduct SQL injection attacks.

The vulnerability has been discovered in the latest version,
0.93. Other versions may also be affected.


Details:

Multiple SQL Injections in sign.php

Input passed to the most parameters aren't properly sanitised
before they are used in a SQL query.

The best examples which an attacker could be use are
`$HTTP_USER_AGENT` and `$gb_entry_text`.

All other variables are affected too but they are shorted by
the scripts `format_wordlength` function.

The other variables are `$gb_location`, `$gb_fullname` and
`$gb_sex`.


Proof of Concept:

Put `/*` into the `$gb_entry_text` variable


Notes:

rjonesx has already discovered a vulnerability in Xeobook,
which can be exploited to perform script insertion attacks.
Because there is no released patch or something similar yet,
I will not contact the vendor. To fix all these bugs you
could write the complete guestbook new.


Solution/Fix:

You must have register_globals enabled to run this script,
disable it and edit the source code to ensure that input is
properly sanitised and change all input variables.

Use functions like PHP's htmlentities() and
mysql_real_escape_string() functions.


Disclosure Timeline:

10/12/2006 - Discovery of the vulnerabilities
10/12/2006 - Public disclosure
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
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 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