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

medium Nessus Plugin ID 38799

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

https://www.securityfocus.com/archive/1/498746/30/0/threaded

http://cxsecurity.com/issue/WLB-2008110058

http://www.nessus.org/u?44d08bef

Plugin Details

Severity: Medium

ID: 38799

File Name: freebsd_pkg_1e8031be425811deb67a0030843d3802.nasl

Version: 1.15

Type: local

Published: 5/18/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

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: 5/16/2009

Vulnerability Publication Date: 11/28/2008

Reference Information

CVE: CVE-2008-7068

CWE: 20