TUCoPS :: Web :: General :: web5752.htm

kpf (KDE Personal File Server) permits remote file access
15th Oct 2002 [SBWID-5752]

	kpf - KDE personal fileserver - permits remote file access


	kpf of any KDE release between KDE 3.0.1 and KDE 3.0.3a


	Ajay R Ramjatan [simpleguy@simpleguy.com] says :

	kpf allows a user to run a  small  http  server  and  easily  'share'  a
	directory on a certain port. Using specially crafted URLs, its  possible
	to view content outside the specified root directory.

	A few days ago, I used the kpf applet to quickly 'share' a directory  on
	my system for a friend. When testing with  a  browser,  I  noticed  that
	jpeg files had an icon next to them. Curiosity  compelled  me  to  check
	the path of those icons. It turned out the icons were  being  read  from
	my own machine and their URL was in the form


	Using ?icon=/ in the URL shown above causes kpf to display the  system's
	root directory, and going from there,  its  posible  to  read  any  file
	which is readable by the user running kpf.

	I immediately closed kpf and notified rikkus on  #kde-devel@Openprojects
	who acknowledged the hole and immediately fixed it.


	The KDE advisory of the problem is here:



	It includes locations of where to get updated packages and patches,  see
	kpf from kdenetwork 3.0.4.

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH