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…
Check your servers for CVE-2006-2842
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-2842 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 44.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.0% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-2842 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-2842RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-2842Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-2842
trivy image --scanners vuln IMAGE | grep CVE-2006-2842
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
19 of 20 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- SUSE-SR:2006:017 novell.com · vendor advisory
- APPLE-SA-2007-07-31 lists.apple.com · vendor advisory
- 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 squirrelmail.cvs.sourceforge.net
- 21262 secunia.com · third party advisory
- RHSA-2006:0547 redhat.com · vendor advisory
- 20406 secunia.com · third party advisory
- http://www.squirrelmail.org/security/issue/2006-06-01 squirrelmail.org
- http://docs.info.apple.com/article.html?artnum=306172 docs.info.apple.com
- 21159 secunia.com · third party advisory
- MDKSA-2006:101 mandriva.com · vendor advisory
- 26235 secunia.com · third party advisory
- 20931 secunia.com · third party advisory
Other references
- ADV-2007-2732 vupen.com · vdb entry
- 18231 securityfocus.com · vdb entry
- 20060601 Squirrelmail local file inclusion securityfocus.com · mailing list
- 1016209 securitytracker.com · vdb entry
- ADV-2006-2101 vupen.com · vdb entry
- 25159 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:11670 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2006-2842 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse