oss-sec mailing list archives

CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers


From: Jan Lieskovsky <jlieskov () redhat com>
Date: Thu, 15 Nov 2012 09:47:14 -0500 (EST)

Hello Kurt, Steve, vendors,

  a security flaw was found in the way CGI.pm, a Perl module to
handle Common Gateway Interface requests and responses, performed
sanitization of values to be used for Set-Cookie and P3P headers.
If a Perl CGI.pm module based CGI application reused cookies values
and accepted untrusted input from web browser(s), a remote attacker
could use this flaw to in an unauthorized way alter member items of
the cookie or add new items.

References:
[1] http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes
[2] https://github.com/markstos/CGI.pm/pull/23
[3] https://bugzilla.redhat.com/show_bug.cgi?id=877015

Could you allocate a CVE id for this?

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


Current thread: