CVE-2008-6318: PHP remote file inclusion vulnerability in _conf/_php-core/common-tpl-vars.php in PHPmyGallery 1.5 beta allows
CVE-2008-6318 is a high-severity flaw (CVSS 7.5) affecting phpmygallery. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PHP remote file inclusion vulnerability in _conf/_php-core/common-tpl-vars.php in PHPmyGallery 1.5 beta allows remote attackers to execute arbitrary PHP code via a URL in the admindir parameter, a different vector than CVE-2008-6317.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 2.1% (top 19%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2009-02-27 |
| 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.
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-6318?
phpmygallery: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2008-6318 being exploited?
CVE-2008-6318 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-6318 affect?
CVE-2008-6318 affects phpmygallery. Severity is high (CVSS 7.5). PHP remote file inclusion vulnerability in _conf/_php-core/common-tpl-vars.php in PHPmyGallery 1.5 beta allows remote attackers to execute arbitrary PHP code via a URL in the admindir parameter, a different vector than CVE-2008-6317.
How urgent is CVE-2008-6318?
Priority 52/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2008-6317 MEDIUM 6.8 DOWNGRADE Directory traversal vulnerability in _conf/_php-core/common-tpl-vars.php in PHPmyGallery 1.5 beta allows remot
- CVE-2008-6316 MEDIUM 6.8 DOWNGRADE Directory traversal vulnerability in _conf/core/common-tpl-vars.php in PHPmyGallery 1.0 beta2 allows remote at
- CVE-2008-6315 HIGH 7.5 DOWNGRADE PHP remote file inclusion vulnerability in _conf/core/common-tpl-vars.php in PHPmyGallery 1.0 beta2 allows rem
- CVE-2008-5598 MEDIUM 5.0 DOWNGRADE Directory traversal vulnerability in index.php in PHPmyGallery 1.51 gold allows remote attackers to list arbit