FreeBSD : mod_dosevasive -- insecure temporary file creation (88ff90f2-6e43-11d9-8c87-000a95bc6fae)

High Nessus Plugin ID 19018


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


An LSS Security Advisory reports :

When a denial of service attack is detected, mod_dosevasive will, among other things, create a temporary file which it will use to trace actions from the offensive IP address. This file is insecurely created in /tmp and it's name is easily predictable.

It is then easy for an attacker to create arbitrary files in any directory that the user under which apache runs has privileges to write.

[...] once the target file is opened, there is a race attack (although difficult to exploit) which can lead to mod_dosevasive overwriting any file that the user under which apache runs has privileges to write.


Update the affected package.

See Also

Plugin Details

Severity: High

ID: 19018

File Name: freebsd_pkg_88ff90f26e4311d98c87000a95bc6fae.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2005/07/13

Modified: 2014/09/18

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

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

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

Patch Publication Date: 2005/01/24

Vulnerability Publication Date: 2005/01/04