Secunia Logo  
 
CGI::Session Insecure Default Session File Permissions
Secunia Advisory: SA19211
Release Date: 2006-03-13
Last Update: 2006-03-22
Popularity: 4,973 views

Critical:
Less critical
Impact: Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:CGI::Session 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1279
CVE-2006-1280


Description:
Joey Hess has reported some security issues in CGI::Session, which potentially can be exploited by malicious, local users and by malicious people to disclose certain sensitive information.

1) Session files are created by Driver::file, Driver::db_file, and Driver::sqlite with insecure default read permissions. This can potentially be exploited by malicious, local users to gain knowledge of data stored in session files, e.g. Driver::file stores the session files in "/tmp" by default.

2) The "cgisess.db" session file is created by Driver::db_file in the same directory as the CGI script. In certain configurations, this file may be created in a web accessible directory. This can potentially be exploited by malicious people to gain knowledge of session data.

The security issues have been reported in version 4.03. Other versions may also be affected.

Solution:
Update to version 4.09.
http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/CGI-Session-4.09.tar.gz

Provided and/or discovered by:
Joey Hess

Changelog:
2006-03-21: Added CVE references.
2006-03-22: Updated "Solution" section.

Original Advisory:
Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356555


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 107 views
2. Nokia Phones SMS Denial of Service Vulnerability // 103 views
3. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 101 views
4. Xdg-utils mailcap Command Execution Security Issue // 98 views
5. Cisco Global Site Selector DNS Request Denial of Service // 53 views
6. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 45 views
7. Zeroboard Multiple Vulnerabilities // 38 views
8. FreeBSD update for lukemftpd // 38 views
9. Winamp gen_msn Plugin Buffer Overflow Vulnerability // 36 views
10. Red Hat update for openssl // 34 views