CVE-2007-2431

TCExam < 4.0.011 - Cross-Site Scripting via Dynamic Variable Evaluation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-2431. PoCs published by rgod.

AI-analyzed exploit summary This exploit leverages a PHP code injection vulnerability in TCExam <= 4.0.011 via the 'SessionUserLang' cookie. It injects malicious PHP code into a cache file, allowing remote command execution through a crafted HTTP request.

Description

Dynamic variable evaluation vulnerability in shared/config/tce_config.php in TCExam 4.0.011 and earlier allows remote attackers to conduct cross-site scripting (XSS) and possibly other attacks by modifying critical variables such as $_SERVER, as demonstrated by injecting web script via the _SERVER[SCRIPT_NAME] parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by rgod · phpwebappsphp
https://www.exploit-db.com/exploits/3816

This exploit leverages a PHP code injection vulnerability in TCExam <= 4.0.011 via the 'SessionUserLang' cookie. It injects malicious PHP code into a cache file, allowing remote command execution through a crafted HTTP request.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TCExam <= 4.0.011
No auth needed
Prerequisites: Target must have TCExam <= 4.0.011 installed · PHP must be configured to allow file operations
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25008
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/23704
Third Party Advisory mailing-list x_refsource_vim
http://www.attrition.org/pipermail/vim/2007-May/001572.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/33957
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/3816

Scores

EPSS 0.0510
EPSS Percentile 91.3%

Details

Status published
Products (1)
tecnick.com/tcexam < 4.0.011
Published May 02, 2007
Tracked Since Feb 18, 2026