---------------------------------------------------------------------- Did you know that a change in our assessment rating, exploit code availability, or if an updated patch is released by the vendor, is not part of this mailing-list? Click here to learn more: http://secunia.com/advisories/business_solutions/ ---------------------------------------------------------------------- TITLE: myPHPscripts Login Session Cross-Site Scripting and Information Disclosure SECUNIA ADVISORY ID: SA33253 VERIFY ADVISORY: http://secunia.com/advisories/33253/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Exposure of sensitive information WHERE: >From remote SOFTWARE: myPHPscripts Login Session 2.x http://secunia.com/advisories/product/20829/ DESCRIPTION: Osirys has discovered a security issue and some vulnerabilities in myPHPscripts Login Session, which can be exploited by malicious people to conduct cross-site scripting attacks or disclose sensitive information. 1) Input passed to the "ls_user" and "ls_email" parameters in login.php is not properly sanitised when registering 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) The security issue is caused due to the "users.txt" file being stored with insecure permissions inside the web root. This can be exploited to gain knowledge of sensitive information by downloading the file. The security issue and the vulnerability are confirmed in version 2.0. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. Move the users.txt file outside the web root. PROVIDED AND/OR DISCOVERED BY: Osirys ORIGINAL ADVISORY: http://milw0rm.com/exploits/7526 ---------------------------------------------------------------------- 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/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/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 ----------------------------------------------------------------------