SquirrelMail HTTPS Session Cookie Secure Flag Weakness

medium Nessus Plugin ID 35661

Synopsis

The remote web server contains a PHP application that handles session cookies insecurely.

Description

The version of SquirrelMail installed on the remote host does not set the 'secure' flag for session cookies established when communicating over SSL / TLS. This could lead to disclosure of those cookies if a user issues a request to a host in the same domain over HTTP (as opposed to HTTPS).

Solution

Upgrade to SquirrelMail version 1.4.16 or later and ensure that the 'only_secure_cookies' configuration option is set to 'true'.

See Also

https://int21.de/cve/CVE-2008-3663-squirrelmail.html

https://www.securityfocus.com/archive/1/496601/30/0/threaded

http://www.squirrelmail.org/security/issue/2008-09-28

Plugin Details

Severity: Medium

ID: 35661

File Name: squirrelmail_insecure_https_cookie.nasl

Version: 1.13

Type: remote

Family: CGI abuses

Published: 2/12/2009

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: cpe:/a:squirrelmail:squirrelmail

Required KB Items: www/squirrelmail

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2008-3663

BID: 31321

CWE: 310