OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA31117] CGI::Session "File" Driver "CGISESSID" Directory Traversal

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Jul 17 2008 - 18:50:05 CDT


----------------------------------------------------------------------

Want a new job?

http://secunia.com/secunia_security_specialist/
http://secunia.com/hardcore_disassembler_and_reverse_engineer/

International Partner Manager - Project Sales in the IT-Security
Industry:
http://corporate.secunia.com/about_secunia/64/

----------------------------------------------------------------------

TITLE:
CGI::Session "File" Driver "CGISESSID" Directory Traversal

SECUNIA ADVISORY ID:
SA31117

VERIFY ADVISORY:
http://secunia.com/advisories/31117/

CRITICAL:
Less critical

IMPACT:
Security Bypass

WHERE:
From remote

SOFTWARE:
CGI::Session 4.x
http://secunia.com/product/8688/
CGI::Session 3.x
http://secunia.com/product/19326/

DESCRIPTION:
Tan Chew Keong has reported a vulnerability in CGI::Session, which
can be exploited by malicious people to bypass certain security
restrictions.

The vulnerability is caused due to an input validation error in the
"File" driver when handling the "CGISESSID" cookie value. This can be
exploited to cause the "File" driver to read session data from
arbitrary files outside of the session data directory via directory
traversal sequences.

Successful exploitation requires that the target application using
CGI::Session is on Windows and that an attacker is able to place a
file containing valid session data on a known location on the target
system.

The vulnerability is reported in version 3.94, 3.95, and 4.33. Other
versions may also be affected.

SOLUTION:
Update to version 4.34.
http://search.cpan.org/~markstos/CGI-Session-4.34/

PROVIDED AND/OR DISCOVERED BY:
Tan Chew Keong

ORIGINAL ADVISORY:
http://vuln.sg/cgisession433-en.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------