VYPR
Unrated severityNVD Advisory· Published Sep 6, 2006· Updated Apr 16, 2026

CVE-2006-4559

CVE-2006-4559

Description

Multiple PHP remote file inclusion vulnerabilities in Yet Another Community System (YACS) CMS 6.6.1 allow remote attackers to execute arbitrary PHP code via a URL in the context[path_to_root] parameter in (1) articles/populate.php, (2) categories/category.php, (3) categories/populate.php, (4) comments/populate.php, (5) files/file.php, (6) sections/section.php, (7) sections/populate.php, (8) tables/populate.php, (9) users/user.php, and (10) users/populate.php. The articles/article.php vector is covered by CVE-2006-4532.

AI Insight

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

Affected products

2

Patches

Vulnerability mechanics

Root cause

"The application fails to properly sanitize the context[path_to_root] parameter, allowing for remote file inclusion."

Attack vector

Remote attackers can execute arbitrary PHP code by providing a crafted URL in the context[path_to_root] parameter. This parameter is used in multiple PHP files within the application. By controlling this parameter, an attacker can trick the application into including and executing malicious code from a remote server. The exploit example shows a URL pointing to a remote shell script [ref_id=1].

Affected code

The vulnerability exists in multiple PHP files including articles/populate.php, categories/category.php, categories/populate.php, comments/populate.php, files/file.php, sections/section.php, sections/populate.php, tables/populate.php, users/user.php, and users/populate.php. The context[path_to_root] parameter in these files is susceptible to remote file inclusion [ref_id=1].

What the fix does

The advisory does not specify a patch or provide details on how the vulnerability is fixed. Remediation guidance typically involves updating to a patched version or applying security configurations to prevent the inclusion of external files. Users are advised to consult vendor advisories for specific mitigation steps.

Preconditions

  • inputThe context[path_to_root] parameter must be controllable by the attacker.
  • networkThe vulnerable application must be accessible over the network.

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

References

12

News mentions

0

No linked articles in our index yet.