TITLE: Guestex Shell Command Injection and Cross-Site Scripting SECUNIA ADVISORY ID: SA18927 VERIFY ADVISORY: http://secunia.com/advisories/18927/ CRITICAL: Highly critical IMPACT: Cross Site Scripting, System access WHERE: >From remote SOFTWARE: Guestex 1.x http://secunia.com/product/8125/ DESCRIPTION: Aliaksandr Hartsuyeu has reported two vulnerabilities in Guestex, which can be exploited by malicious people to conduct cross-site scripting attacks and to compromise a vulnerable system. 1) Input passed to the "mail" parameter in guestex.pl isn't properly sanitised before being passed to sendmail as an argument. This can be exploited to inject arbitrary shell commands. 2) Input passed to the "url" parameter 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. The vulnerabilities have been reported 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: Aliaksandr Hartsuyeu ORIGINAL ADVISORY: http://evuln.com/vulns/76/description.html http://evuln.com/vulns/77/description.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 ----------------------------------------------------------------------