Secunia Logo
Netsikker nu! 2008
 
TCExam PHP Code Execution and Cross-Site Scripting
Secunia Advisory: SA25008
Release Date: 2007-05-01
Last Update: 2007-05-07
Popularity: 4,357 views

Critical:
Highly critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Vendor Patch

Software:TCExam 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2430
CVE-2007-2431


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

Changelog:
2007-05-07: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/3816


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 9
New vulnerabilities: 32
Updated advisories: 12

Highly // 145 views
Opera Multiple Vulnerabilities
Moderately // 97 views
Red Hat update for condor
Moderately // 94 views
Condor Multiple Vulnerabilities
Moderately // 110 views
Gentoo update for wordnet
Moderately // 130 views
Red Hat update for kernel

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 61

Moderately // 480 views
Debian update for php5

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Adobe Flash Player "Clickjacking" Security Bypass Vulnerability // 166 views
2. Red Hat update for kernel // 122 views
3. Opera Multiple Vulnerabilities // 120 views
4. Gentoo update for wordnet // 104 views
5. Hero DVD Player M3U Processing Buffer Overflow Vulnerability // 88 views
6. Red Hat update for condor // 86 views
7. Condor Multiple Vulnerabilities // 85 views
8. PHP Realtor "v_cat" SQL Injection Vulnerability // 62 views
9. Debian update for php5 // 48 views
10. Atarone CMS Multiple Vulnerabilities // 30 views