FreeBSD : php -- input validation error in safe_mode (ee6fa2bd-406a-11dd-936a-0015af872849)

Medium Nessus Plugin ID 34089


The remote FreeBSD host is missing a security-related update.


According to Maksymilian Arciemowicz research, it is possible to bypass security restrictions of safe_mode in various functions via directory traversal vulnerability. The attacker can use this attack to gain access to sensitive information. Functions utilizing expand_filepath() may be affected.

It should be noted that this vulnerability is not considered to be serious by the FreeBSD Security Team, since safe_mode and open_basedir are insecure by design and should not be relied upon.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 34089

File Name: freebsd_pkg_ee6fa2bd406a11dd936a0015af872849.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2008/09/05

Modified: 2013/06/22

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

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

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2008/06/22

Vulnerability Publication Date: 2008/06/17

Reference Information

CVE: CVE-2008-2665, CVE-2008-2666

BID: 29797

CWE: 22