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

GuestBook Scripts PHP 1.5 Cross Site Scripting / SQL Injection

GuestBook Scripts PHP 1.5 Cross Site Scripting / SQL Injection
Posted Jul 5, 2012
Authored by Hubert Wojciechowski, Vulnerability Laboratory | Site vulnerability-lab.com

GuestBook Scripts PHP version 1.5 suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, php, vulnerability, xss, sql injection
SHA-256 | 9b4db8ef1d37f9ab481fd0462d19541bdffd9a624fb896d51f3c537e6be7243c

GuestBook Scripts PHP 1.5 Cross Site Scripting / SQL Injection

Change Mirror Download
Title:
======
GuestBook Scripts PHP v1.5 - Multiple Web Vulnerabilites


Date:
=====
2012-06-11


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=601


VL-ID:
=====
601


Common Vulnerability Scoring System:
====================================
7.5


Introduction:
=============
GuestBook Script PHP is a script that is very easy to install,
administer and use on your website.
Visitors to your website can leave comments and feedback. Also you can
use it for testimonials.
Features of GuestBook Script PHP:

password protected administrator page
converts easily to any language
full control over the visual style
simple one step installation
easy to place on your webpage - copy and paste a single line of code
select only the fields that you want to appear on the GuestBook form
ability to set mandatory(required) fields on the GuestBook form
each comment poster will be able to upload own photo (icon/avatar)
rating stars option for the feedback
emoticons support with show/hide option
limit the number of characters in the comment area
set the number of comments per page
sort the order of entries
create a list of words that will be banned from the GuestBook
create a list of IP addresses that will be banned from using the
GuestBook
prevention of HTML and javascript injections
choose between two types of captcha antispam code - simple and reCaptcha
100% stop spam by using the reCaptcha image
different captcha image themes to suit your website colors
ability to approve comments/feedback before they are viewed publicly
edit email address where all new entries notifications will be sent to
option to send thank you message to the commenter after posting
RSS Feed validated by W3C
full source code supplied

Requirements: PHP 4.3 or higher and MySQL 3 or higher running on your
webserver.
Current stable version of GuestBook Script PHP is 1.5

( Copy of the Vendor Homepage: http://www.guestbookscripts.com )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple different
web vulnerabilites in GuestBook Scripts PHP 1.5 CMS.



Report-Timeline:
================
2012-06-11: Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
1.1
Multiple SQL Injection vulnerabilities are detected in the GuestBook
Scripts PHP 1.5 Content Management System.
The vulnerability allows an attacker (remote) or local low privileged
user account to inject/execute own sql
commands on the affected application dbms without user inter action.
Successful exploitation of the vulnerability
results in dbms & application compromise. The vulnerabilities are
located in the guestbook.php or admin.php files
and the bound parameters p, orderType & orderBy. The sql injection
vulnerabilities can be exploited by remote attackers without user
inter action & without privileged user account.

Vulnerable File(s):
[+] guestbook.php
[+] admin.php


Vulnerable Parameter(s):
[+] orderType
[+] p
[+] orderBy



1.2
Multiple non persistent cross site scripting vulnerabilities are
detected in the GuestBook Scripts PHP 1.5 Content Management System.
The vulnerability allows remote attackers to hijack website customer,
moderator or admin sessions with high required user inter action
or local low privileged user account. The vulnerabilities are located in
the admin.php file with the bound vulnerable search, p &
ordertype parameters. Successful exploitation can result in account
steal, phishing & client-side content request manipulation.

Vulnerable File(s):
[+] admin.php

Vulnerable Parameter(s):
[+] search
[+] p
[+] orderType


Proof of Concept:
=================
1.1
The SQL Injection vulnerabilities can be exploited by remote attackers
with and without privileged user account.
User inter action is not required for exploitation. For demonstration or
reproduce ...

http://127.0.0.1:80/cms/guestbook.php?p=[SQL-INJECTION]
http://127.0.0.1:80/cms/guestbook/admin.php?act=comments&orderType=[ASC/DESC]&search=&orderBy=[SQL-INJECTION]
http://127.0.0.1:80/cms/guestbook/admin.php?act=comments&orderType=[SQL-INJECTION]

1.2
The persistent vulnerabilities can be exploited by remote attackers
without privileged user account & with low
required user inter action. For demonstration or reproduce ...

http://127.0.0.1:80/cms/guestbook/admin.php?act=comments&orderType=[ASC/DESC]&search=&orderBy=[CROSS
SITE SCrIPTING]
http://127.0.0.1:80/cms/guestbook/admin.php?act=comments&orderType=[ASC/DESC]&search=[CROSS
SITE SCrIPTING]
http://127.0.0.1:80/cms/guestbook/admin.php?act=comments&orderType=[CROSS SITE
SCrIPTING]


Risk:
=====
1.1
The security risk of the sql injection vulnerabilities are estimated as
high.

1.2
The security risk of the input validation vulnerabilities are estiamted
as low(+)


Credits:
========
Vulnerability Laboratory [Research Team] - snup
(snup@vulnerability-lab.com) [http://snup1.blogspot.com]



Disclaimer:
===========
The information provided in this advisory is provided as it is without
any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability
and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including
direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers
have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for
consequential or incidental damages so the foregoing limitation
may not apply.

Domains: www.vulnerability-lab.com - www.vuln-lab.com
Contact: admin@vulnerability-lab.com -
support@vulnerability-lab.com - research@vulnerability-lab.com
Section: video.vulnerability-lab.com -
forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab -
facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab

Any modified copy or reproduction, including partially usages, of this
file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified
form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers.
All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team
& the specific authors or managers. To record, list (feed),
modify, use or edit our material contact (admin@vulnerability-lab.com or
support@vulnerability-lab.com) to get a permission.

Copyright © 2012 Vulnerability-Lab

--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research@vulnerability-lab.com

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