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- cpe:2.3:a:bernard_pacques:yet_another_community_system_cms:6.6.1:*:*:*:*:*:*:*
- Range: = 6.6.1
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- www.yetanothercommunitysystem.com/yacs/articles/view.php/1664nvdPatchURL Repurposed
- secunia.com/advisories/21680nvdExploitPatchVendor Advisory
- www.osvdb.org/31301nvd
- www.osvdb.org/31302nvd
- www.osvdb.org/31303nvd
- www.osvdb.org/31304nvd
- www.osvdb.org/31305nvd
- www.osvdb.org/31306nvd
- www.osvdb.org/31307nvd
- www.osvdb.org/31308nvd
- www.osvdb.org/31309nvd
- www.osvdb.org/31310nvd
News mentions
0No linked articles in our index yet.