CVE-2008-6840: Multiple PHP remote file inclusion vulnerabilities in V-webmail 1.6.4 allow remote attackers to execute arbitr
CVE-2008-6840 is a medium-severity flaw (CVSS 6.8) affecting v-webmail. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Multiple PHP remote file inclusion vulnerabilities in V-webmail 1.6.4 allow remote attackers to execute arbitrary PHP code via a URL in the (1) CONFIG[pear_dir] parameter to (a) Mail/RFC822.php, (b) Net/Socket.php, (c) XML/Parser.php, (d) XML/Tree.php, (e) Mail/mimeDecode.php, (f) Console/Getopt.php, (g) System.php, (h) Log.php, and (i) File.php in includes/pear/; the CONFIG[pear_dir] parameter to (j) includes/prepend.php, and (k) includes/cached
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| EPSS exploit chance | 1.9% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2009-07-01 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: V-Webmail 1.6.4 - '/includes/cachedConfig.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/email.list.search.php?CONFIG[includes]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/Console/Getopt.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/File.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/Log.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/Mail/mimeDecode.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/Mail/RFC822.php?CONFIG[pear_dir]' Remote File Inclusion
- Exploit-DB: V-Webmail 1.6.4 - '/includes/pear/Net/Socket.php?CONFIG[pear_dir]' Remote File Inclusion
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2008-6840?
v-webmail: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2008-6840 being exploited?
CVE-2008-6840 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2008-6840 affect?
CVE-2008-6840 affects v-webmail. Severity is medium (CVSS 6.8). Multiple PHP remote file inclusion vulnerabilities in V-webmail 1.6.4 allow remote attackers to execute arbitrary PHP code via a URL in the (1) CONFIG[pear_dir] parameter to (a) Mail/RFC822.php, (b) Net/Socket.php, (c) XML/Parser.php, (d) X
How urgent is CVE-2008-6840?
Priority 49/100. Public exploit reference
Software pages
Related CVEs
- CVE-2008-3063 HIGH 7.5 DOWNGRADE SQL injection vulnerability in login.php in V-webmail 1.5.0 might allow remote attackers to execute arbitrary
- CVE-2008-3061 MEDIUM 4.3 DOWNGRADE Open redirect vulnerability in redirect.php in V-webmail 1.5.0 allows remote attackers to redirect users to ar
- CVE-2008-3060 MEDIUM 5.0 DOWNGRADE V-webmail 1.5.0 allows remote attackers to obtain sensitive information via (1) malformed input in the login p