CVE-2007-5305 in ELSEIF CMSinfo

Summary

by MITRE

Multiple PHP remote file inclusion vulnerabilities in ELSEIF CMS Beta 0.6 allow remote attackers to execute arbitrary PHP code via a URL in the (1) contenus parameter to (a) contenus.php; the (2) tpelseifportalrepertoire parameter to (b) votes.php, (c) espaceperso.php, (d) enregistrement.php, (e) commentaire.php, and (f) coeurusr.php in utilisateurs/, and (g) articles/fonctions.php and (h) depot/fonctions.php in moduleajouter/; the (3) corpsdesign parameter to (i) articles/usrarticles.php and (j) depot/usrdepot.php in moduleajouter/; and possibly other files.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 08/18/2025

The CVE-2007-5305 vulnerability represents a critical remote file inclusion vulnerability affecting ELSEIF CMS Beta 0.6, classified under CWE-829 as inclusion of code from an untrusted source. This vulnerability stems from improper input validation and sanitization within the content management system's file inclusion mechanisms, creating multiple attack vectors across various script files that accept user-controllable parameters. The flaw allows remote attackers to execute arbitrary PHP code by manipulating URL parameters that are directly included in the application's processing logic without adequate security controls.

The technical implementation of this vulnerability occurs through the direct inclusion of user-supplied URLs in PHP scripts, specifically targeting parameters such as contenus, tpelseifportalrepertoire, corpsdesign, and others across multiple files including contenus.php, votes.php, espaceperso.php, and various moduleajouter directory scripts. The vulnerability exploits the lack of proper parameter validation and sanitization, enabling attackers to inject malicious URLs that get processed through PHP's include or require functions. This creates a pathway for remote code execution where attacker-controlled code can be executed within the context of the web server, potentially leading to complete system compromise.

The operational impact of this vulnerability extends beyond simple code execution to encompass full system compromise and data breach potential. Attackers can leverage this vulnerability to upload backdoors, steal sensitive information, modify website content, or establish persistent access to the compromised system. The multi-vector nature of the attack, affecting multiple files and parameters, increases the attack surface and makes remediation more complex. This vulnerability aligns with ATT&CK technique T1190 for exploitation of remote services and T1059 for command and scripting interpreter usage, representing a significant threat to web application security.

Mitigation strategies for CVE-2007-5305 require immediate implementation of parameter validation, input sanitization, and the removal of vulnerable include mechanisms. Organizations should implement proper parameter validation using allowlists, avoid dynamic inclusion of user-controllable parameters, and ensure all file inclusion operations use absolute paths rather than relative URLs. The vulnerability demonstrates the importance of secure coding practices and input validation as outlined in OWASP Top Ten A03:2021 and the principle of least privilege in web application security. Additionally, implementing web application firewalls and regular security audits can help detect and prevent exploitation attempts, while the affected CMS should be updated or patched to address the root cause of the vulnerability.

Reservation

10/09/2007

Moderation

accepted

Entry

3

Relate

show

CPE

ready

Exploit

Download

EPSS

0.09304

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!