FreeBSD : a2ps -- insecure command line argument handling (8091fcea-f35e-11d8-81b0-000347a4fa7d)

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

Rudolf Polzer reports :

a2ps builds a command line for file() containing an unescaped version
of the file name, thus might call external programs described by the
file name. Running a cronjob over a public writable directory a2ps-ing
all files in it - or simply typing 'a2ps *.txt' in /tmp - is therefore
dangerous.

See also :

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=70618
http://marc.info/?l=full-disclosure&m=109334851517137
http://www.nessus.org/u?0896540a

Solution :

Update the affected packages.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.7
(CVSS2#E:H/RL:OF/RC:C)
Public Exploit Available : true

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 37951 (freebsd_pkg_8091fceaf35e11d881b0000347a4fa7d.nasl)

Bugtraq ID: 11025

CVE ID: CVE-2004-1170

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now