SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
Search :
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

OpenGuestbook Cross Site Scripting & SQL Injection


Arrow  SecurityAlert : 1166
Arrow  CVE : CVE-2006-3296
Arrow  CVE : CVE-2006-3295
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Given : Yes
Arrow  Credit : simo64
Arrow  Published : 01.07.2006

Arrow  Affected Software : Open Guestbook 0.5



Arrow  Advisory Text :  

Produce : Open Guestbook 0.5

Site : http://sourceforge.net/projects/openguestbook

Discovred by: Moroccan Security Team (Simo64)

Greetz to : And All Friends :)

Details :

=========

[+]Cross Site Scripting

************************

[-]vulnerable code in header.php on line 5

[1] <html>

[2]

[3] <head>

[4]

[5] <title><? echo "$title"; ?></title>

--------------------

Exploit : http://localhost/openguestbook/header.php?title=</title>[XSS]

[-] Solution

edit line 5 on header.php

[5] <title><? echo htmlspecialchars($title); ?></title>

[+]SQL Injection

******************

[-]vulnerable code near lines 23 - 28

[23] if (empty($offset)) {

[24] $offset=0;

[25] }

[26]

[27] // get results

[28] $result=mysql_query("SELECT * FROM $tentries ORDER BY ID DESC limit
$offset,$limit");

[-]Exploit : http://localhost/openguestbook/view.php?offset=[SQL]

[-]Solution :

edit line 23 in view.php

[23] if (empty($offset) OR !is_numeric($offset) {

[24] $offset=0;

[+] Contact :

**************

simo64[at]gmail[dot]com




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

Multiple Vendors libc/gdtoa printf(3) Array Overrun

Security Risk High- 2009-05-30

SecurityReason realised new advisory about vulnerabilities libc/gdtoa...

Apache RSS Apache Alert

» Apache Tomcat
   RequestDispatcher
   directory traversal
   vulnerability

» Apache mod_dav / svn
   Remote Denial of Service
   Exploit

» Apache Tomcat Information
   disclosure

» Apache Tomcat User
   enumeration vulnerability
   with FORM authentication

PHP RSS PHP Alert

» PHP 5.2.9 curl safe_mode
   & open_basedir bypass

» PHP 5.2.6 SAPI
   php_getuid() overload

» PHP
   ZipArchive::extractTo()
   Directory Traversal
   Vulnerability

» PHP 5.2.6 dba_replace()
   destroying file

Copyright © SecurityReason.com. All Rights Reserved.