TITLE: G-Book "g_message" Script Insertion Vulnerability SECUNIA ADVISORY ID: SA19414 VERIFY ADVISORY: http://secunia.com/advisories/19414/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting WHERE: >From remote SOFTWARE: G-Book 1.x http://secunia.com/product/8944/ DESCRIPTION: matrix_killer has discovered a vulnerability in G-Book, which can be exploited by malicious people to conduct script insertion attacks. Input passed to the "g_message" parameter in guestbook.php isn't sanitised before being stored as a guestbook entry. This can be exploited to execute arbitrary HTML and script code in the administrator user's and the user's browser session in context of an affected website when a malicious guestbook entry is viewed. The vulnerability has been confirmed in version 1.0. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: matrix_killer, h4cky0u Security Forums. ORIGINAL ADVISORY: http://www.h4cky0u.org/advisories/HYSA-2006-006-g-book.txt ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------