CVE-2007-4889
Status: ModifiedMedium (6.8)—
The MySQL extension in PHP 5.2.4 and earlier allows remote attackers to bypass safe_mode and open_basedir restrictions via the MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, and (3) INTO OUTFILE functions, a different issue than CVE-2007-3997.
CVSS
- Version: 2.0
- Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P
- Base score: 6.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 1.22%
- Percentile among all scored CVEs: 68
- Score date: 10/10/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (2)
CWEs
- NVD-CWE-Other
References
- http://securityreason.com/securityalert/3134
- http://www.securityfocus.com/archive/1/479082/100/0/threaded
- http://www.securityfocus.com/archive/1/479187/100/200/threaded
- http://www.securityfocus.com/archive/1/479189/100/200/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36555
- http://securityreason.com/securityalert/3134
- http://www.securityfocus.com/archive/1/479082/100/0/threaded
- http://www.securityfocus.com/archive/1/479187/100/200/threaded
- http://www.securityfocus.com/archive/1/479189/100/200/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36555
Raw JSON (NVD)
Show
{
"id": "CVE-2007-4889",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.8,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": true,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2007-09-14T01:17:00.000",
"references": [
{
"url": "http://securityreason.com/securityalert/3134",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/archive/1/479082/100/0/threaded",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/archive/1/479187/100/200/threaded",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/archive/1/479189/100/200/threaded",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36555",
"source": "cve@mitre.org"
},
{
"url": "http://securityreason.com/securityalert/3134",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/archive/1/479082/100/0/threaded",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/archive/1/479187/100/200/threaded",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/archive/1/479189/100/200/threaded",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36555",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The MySQL extension in PHP 5.2.4 and earlier allows remote attackers to bypass safe_mode and open_basedir restrictions via the MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, and (3) INTO OUTFILE functions, a different issue than CVE-2007-3997."
},
{
"lang": "es",
"value": "La extensión MySQL de PHP 5.2.4 y versiones anteriores permite a atacantes remotos evitar las restricciones safe_mode y open_basedir mediante las funciones MySQL (1) LOAD_FILE, (2) INTO DUMPFILE, y (3) INTO OUTFILE, asunto diferente de CVE-2007-3997."
}
],
"lastModified": "2026-06-16T22:44:57.090",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:mysql_extension:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3164E674-13CA-486B-85A9-7356EFC34527"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A5B6B1C7-B7B8-495E-9FE5-FF39718DC64E",
"versionEndIncluding": "5.2.4"
}
],
"operator": "OR"
}
]
}
],
"vendorComments": [
{
"comment": "We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1\nand http://www.php.net/security-note.php\n",
"lastModified": "2007-09-14T00:00:00",
"organization": "Red Hat"
},
{
"comment": "Due to the nature of safe_mode and open_basedir restrictions, and in alignment with the PHP group’s stance on these features, Mandriva does not consider this a security issue.",
"lastModified": "2007-09-18T00:00:00",
"organization": "Mandriva"
}
],
"sourceIdentifier": "cve@mitre.org"
}