vendor:
php-generics
by:
bd0rk
7.5
CVSS
HIGH
Remote File Inclusion
98
CWE
Product Name: php-generics
Affected Version From: 1.0Beta
Affected Version To: 1.0Beta
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2007
php-generics 1.0 Remote File Inclusion Vulnerabilities
The vulnerability allows an attacker to include a remote file in the application, which can lead to remote code execution. The vulnerability exists in the include.php, /dbcommon/include.php, and /exception/include.php files.
Mitigation:
To mitigate this vulnerability, ensure that the $_APP_RELATIVE_PATH variable is properly validated and sanitized before being used in any include or require statements. Additionally, consider implementing a whitelist approach for including files.