TITLE: Matt Wright Guestbook Script Insertion Vulnerabilities SECUNIA ADVISORY ID: SA19586 VERIFY ADVISORY: http://secunia.com/advisories/19586/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting WHERE: >From remote SOFTWARE: Matt Wright Guestbook 2.x http://secunia.com/product/9246/ DESCRIPTION: Some vulnerabilities have been discovered in Matt Wright Guestbook, which can be exploited by malicious people to conduct script insertion attacks. 1) Input passed to the "realname", "username", and "comments" parameters in guestbook.pl is not properly sanitised before being used. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site when malicious data is viewed. 2) Input passed to the "url", "city", "state", "country" parameters in guestbook.pl is not properly sanitised before being used. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site when malicious data is viewed. The vulnerabilities have been confirmed in version 2.3.1. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: 1) Liz0ziM ORIGINAL ADVISORY: http://liz0zim.no-ip.org/mattguestbook.html ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------