CVE-2008-7252: Phpmyadmin/phpmyadmin PhpMyAdmin Unsafely Handles Temporary Files Vulnerability
HIGHCVE-2008-7252 is a HIGH phpmyadmin unsafely handles temporary files vulnerability (CWE-377: Insecure Temporary File) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin unsafely handles temporary files. Remediation is available by upgrading affected packages to version 2.11.10.
CVE-2008-7252 at a Glance
How to Fix CVE-2008-7252
To remediate this vulnerability, upgrade all affected Phpmyadmin/phpmyadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpmyadmin/phpmyadmin to 2.11.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpmyadmin/phpmyadmin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2008-7252, inspect your project dependencies for Phpmyadmin/phpmyadmin:
inspect dependencies for phpmyadmin/phpmyadmin
Analyze the terminal output to locate any version of Phpmyadmin/phpmyadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.11.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-377: Insecure Temporary File, where creating and using insecure temporary files can leave application and system data vulnerable to attack. In Phpmyadmin/phpmyadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2008-7252 Affected Phpmyadmin/phpmyadmin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpmyadmin/phpmyadmin
|
Packagist |
≥ 2.11.0
< 2.11.10
|
2.11.10
|
References
Frequently Asked Questions
What is CVE-2008-7252?
Which Phpmyadmin/phpmyadmin versions are affected?
What version fixes CVE-2008-7252?
Is phpmyadmin/phpmyadmin affected?
What CWE is associated with CVE-2008-7252?
How can I check Packagist dependencies for CVE-2008-7252?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9645-6g72-2pv8",
"modified" : "2024-02-09T19:06:40Z",
"published" : "2022-05-17T05:44:03Z",
"aliases" : [ "CVE-2008-7252" ],
"summary" : "phpMyAdmin unsafely handles temporary files",
"details" : "`libraries/File.class.php` in phpMyAdmin 2.11.x before 2.11.10 uses predictable filenames for temporary files, which has unknown impact and attack vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpmyadmin/phpmyadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.11.0"
}, {
"fixed" : "2.11.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-7252"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpmyadmin/composer"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20100613071447/http://secunia.com/advisories/38211"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20100613071509/http://secunia.com/advisories/39503"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110729050522/http://www.securityfocus.com/bid/37826"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html"
}, {
"type" : "WEB",
"url" : "http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/QA_2_11/phpMyAdmin/libraries/File.class.php?r1=11528&r2=11527&pathrev=11528"
}, {
"type" : "WEB",
"url" : "http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin?view=rev&revision=11528"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2010/dsa-2034"
}, {
"type" : "WEB",
"url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2010-2.php"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-377" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T19:06:40Z",
"nvd_published_at" : "2010-01-19T16:30:00Z"
}
}