Secunia Logo  
 
Open Guestbook Cross-Site Scripting and SQL Injection
Secunia Advisory: SA20796
Release Date: 2006-06-27
Last Update: 2006-06-30
Popularity: 5,688 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Unpatched

Software:Open Guestbook 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3295
CVE-2006-3296


Description:
Moroccan Security Team has discovered two vulnerabilities in Open Guestbook, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "title" parameter in header.php isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) Input passed to the "offset" parameter in view.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

The vulnerabilities have been confirmed in version 0.5. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
Simo64, Moroccan Security Team

Changelog:
2006-06-30: Added CVE references.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 63 views
2. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 52 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 31 views
4. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 31 views
5. Red Hat update for openssl // 27 views
6. Zeroboard Multiple Vulnerabilities // 25 views
7. HP OpenView Network Node Manager Multiple Vulnerabilities // 23 views
8. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 23 views
9. Red Hat update for dbus // 23 views
10. BlogHelper "common_db.inc" Information Disclosure Security Issue // 22 views