FreeBSD : php -- ini database truncation inside dba_replace() function (1e8031be-4258-11de-b67a-0030843d3802)

Medium Nessus Plugin ID 38799


The remote FreeBSD host is missing one or more security-related updates.


securityfocus research reports :

A bug that leads to the emptying of the INI file contents if the database key was not found exists in PHP dba extension in versions 5.2.6, 4.4.9 and earlier.

Function dba_replace() are not filtering strings key and value. There is a possibility for the destruction of the file.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 38799

File Name: freebsd_pkg_1e8031be425811deb67a0030843d3802.nasl

Version: $Revision: 1.10 $

Type: local

Published: 2009/05/18

Modified: 2013/06/21

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:php4-dba, p-cpe:/a:freebsd:freebsd:php5-dba, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2009/05/16

Vulnerability Publication Date: 2008/11/28

Reference Information

CVE: CVE-2008-7068

CWE: 20