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

Medium Nessus Plugin ID 38799

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 6

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.14

Type: local

Published: 2009/05/18

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 6

CVSS v2.0

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