---------------------------------------------------------------------- Try a new way to discover vulnerabilities that ALREADY EXIST in your IT infrastructure. Join the FREE BETA test of the Network Software Inspector (NSI)! http://secunia.com/network_software_inspector/ The NSI enables you to INSPECT, DISCOVER, and DOCUMENT vulnerabilities in more than 4,000 different Windows applications. ---------------------------------------------------------------------- TITLE: TCExam PHP Code Execution and Cross-Site Scripting SECUNIA ADVISORY ID: SA25008 VERIFY ADVISORY: http://secunia.com/advisories/25008/ CRITICAL: Highly critical IMPACT: Cross Site Scripting, System access WHERE: >From remote SOFTWARE: TCExam 4.x http://secunia.com/product/14107/ DESCRIPTION: rgod has discovered two vulnerabilities in TCExam, which can be exploited by malicious people to conduct cross-site scripting attacks or to compromise a vulnerable system. 1) Input passed in the "SessionUserLang" cookie to public/code/index.php is not properly sanitised before it is written to the filename after the last slash. This can be exploited to execute arbitrary PHP code. 2) Input passed to the "_SERVER[SCRIPT_NAME]" parameter in public/code/index.php is not properly sanitised before it is 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 are confirmed in version 4.0.011. Prior versions may also be affected. SOLUTION: Update to version 4.1.000. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://milw0rm.com/exploits/3816 ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------