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:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close