PHP 4.x, 5.2.6 DoS Vulnerability
🗓️ 27 Aug 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 38 Views
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| php -- ini database truncation inside dba_replace() function | 28 Nov 200800:00 | – | freebsd | |
| CVE-2008-7068 | 25 Aug 200910:00 | – | cve | |
| CVE-2008-7068 | 25 Aug 200910:00 | – | cvelist | |
| EUVD-2008-7027 | 7 Oct 202500:30 | – | euvd | |
| FreeBSD : php -- ini database truncation inside dba_replace() function (1e8031be-4258-11de-b67a-0030843d3802) | 18 May 200900:00 | – | nessus | |
| Mandriva Linux Security Advisory : php (MDVSA-2009:247) | 28 Sep 200900:00 | – | nessus | |
| Mandriva Linux Security Advisory : php (MDVSA-2009:324) | 8 Dec 200900:00 | – | nessus | |
| PHP 5 < 5.2.7 Multiple Vulnerabilities | 5 Dec 200800:00 | – | nessus | |
| Ubuntu 6.06 LTS / 8.04 LTS / 8.10 / 9.04 / 9.10 : php5 vulnerabilities (USN-862-1) | 30 Nov 200900:00 | – | nessus | |
| CVE-2008-7068 | 25 Aug 200910:30 | – | nvd |
10
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:php:php";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900925");
script_version("2025-09-24T05:39:03+0000");
script_tag(name:"last_modification", value:"2025-09-24 05:39:03 +0000 (Wed, 24 Sep 2025)");
script_tag(name:"creation_date", value:"2009-08-27 13:43:20 +0200 (Thu, 27 Aug 2009)");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:P");
script_cve_id("CVE-2008-7068");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_name("PHP 4.x, 5.2.6 DoS Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Denial of Service");
script_dependencies("gb_php_consolidation.nasl");
script_mandatory_keys("php/detected");
script_tag(name:"summary", value:"PHP is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"An error occurs in 'dba_replace()' function while processing
malformed user supplied data containing a key with the NULL byte.");
script_tag(name:"impact", value:"Successful exploitation could allow attackers to execute
arbitrary code, corrupt files and cause denial of service.");
script_tag(name:"affected", value:"PHP versions 4.x and 5.2.6 (and probably prior).");
script_tag(name:"solution", value:"Update to version 5.2.7 or later.");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/47316");
script_xref(name:"URL", value:"https://web.archive.org/web/20141121221325/http://www.securityfocus.com/bid/33498");
script_xref(name:"URL", value:"https://web.archive.org/web/20200229230422/http://www.securityfocus.com/archive/1/498746/100/0/threaded");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (isnull(port = get_app_port(cpe: CPE)))
exit(0);
if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
version = infos["version"];
location = infos["location"];
if (version_in_range_exclusive(version: version, test_version_lo: "4.0", test_version_up: "5.2.7")) {
report = report_fixed_ver(installed_version: version, fixed_version: "5.2.7", install_path: location);
security_message(port: port, data: report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
24 Sep 2025 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 26.4
EPSS0.01591