FreeBSD : php -- vulnerability in RFC 1867 file upload processing (562a3fdf-16d6-11d9-bc4a-000c41e2cdad)

high Nessus Plugin ID 18937

Synopsis

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

Description

Stefano Di Paola discovered an issue with PHP that could allow someone to upload a file to any directory writeable by the httpd process. Any sanitizing performed on the prepended directory path is ignored. This bug can only be triggered if the $_FILES element name contains an underscore.

Solution

Update the affected packages.

See Also

https://marc.info/?l=bugtraq&m=109534848430404

https://marc.info/?l=bugtraq&m=109648426331965

http://www.nessus.org/u?b5239672

Plugin Details

Severity: High

ID: 18937

File Name: freebsd_pkg_562a3fdf16d611d9bc4a000c41e2cdad.nasl

Version: 1.16

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mod_php4, p-cpe:/a:freebsd:freebsd:mod_php5, p-cpe:/a:freebsd:freebsd:php4, p-cpe:/a:freebsd:freebsd:php4-cgi, p-cpe:/a:freebsd:freebsd:php5, p-cpe:/a:freebsd:freebsd:php5-cgi, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 9/15/2004

Vulnerability Publication Date: 9/15/2004