TITLE: DSChat Script Insertion and PHP Code Execution Vulnerabilities SECUNIA ADVISORY ID: SA20258 VERIFY ADVISORY: http://secunia.com/advisories/20258/ CRITICAL: Highly critical IMPACT: Cross Site Scripting, System access WHERE: >From remote SOFTWARE: DSChat 1.x http://secunia.com/product/10138/ DESCRIPTION: Two vulnerabilities have been discovered in DSChat, which can be exploited by malicious people to conduct script insertion attacks and compromise a vulnerable system. 1) Input passed to the "ctext" parameter in send.php isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious chat message is viewed. 2) Input passed to the "Nickname" field when entering a chat isn't properly sanitised before being used to create a file in the "users" directory. This can e.g. be exploited to create a malicious PHP script with arbitrary content. The vulnerabilities have 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: 1) Nomenumbra 2) Discovered by anonymous ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------