oss-sec mailing list archives

CVE Request -- Sahana


From: Jan Lieskovsky <jlieskov () redhat com>
Date: Thu, 22 Oct 2009 10:00:38 +0200

Hello Steve, vendors,

  Greg Miernicki reported a security issue in Sahana disaster management
system:

Sending a specially-crafted URL (with null character included
in the string) to Sahana, would allow an attacker to access any
file on the web server.

More from Greg:

"The first issue would allow an attacker to touch/modify any file on the system.
 Essentially the issue is that get, post, and requests aren't sanitized or
 unescaped."

References:
-----------
https://bugzilla.redhat.com/show_bug.cgi?id=530255
http://sourceforge.net/mailarchive/forum.php?thread_name=5d9043b70910191044l4bb0178fs563a5128a0f5db01%40mail.gmail.com&forum_name=sahana-maindev

Upstream patch:
---------------
http://sahana.cvs.sourceforge.net/viewvc/sahana/sahana-phase2/www/index.php?r1=1.83&r2=1.84

PoC:
----
http://sahana/index.php?stream=text&mod=/../../../../../../../../../../../etc/passwd%00

Could you allocate a CVE identifier?

Thanks && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Response Team


Current thread: