Skip to Content.
Sympa Menu

2021-001 Inappropriate use of the cookie parameter

2021-001 Inappropriate use of the cookie parameter

The Sympa Community 2023-12-31 (Update)

Synopsis

Inappropriate use of the cookie parameter can be a security threat. This parameter may also not provide sufficient security.

Systems Affected

Problem Description

Earlier versions of Sympa require a parameter named "cookie" in sympa.conf configuration file.

This parameter was used to make some identifiers generated by the system unpredictable. For example, it was used as following:

There were the following problems with the use of this parameter.

  1. This parameter, for its purpose, should be different for each installation, and once set, it cannot be changed. As a result, some sites have been operating without setting this parameter. This completely invalidates the security measures described above.

  2. Even if this parameter is properly set, it may be considered not being strong enough against brute force attacks.

For the above reasons, administrators are recommended to take the measures detailed below.

Impact

Attacker can achieve XSS and so on in message archives.

Workarounds

If you are operating without setting the cookie parameter and you cannot upgrade to the latest version of Sympa right now, set a value for this parameter to mitigate security risks.

However, if you are using 6.2.40 or earlier, you need to upgrade your RC4-encrypted passwords by running upgrade_sympa_password.pl (with 6.2.16 or later) or sympa.pl --md5_encode_password (earlier) before setting this parameter.

Note that, when you set this parameter, you have to restart the all of the services for Sympa you are running (Sympa services, WWSympa, Sympa SOAP service).

Solution

The best solution is to upgrade to Sympa 6.2.62 or later which no longer uses the cookie parameter.

Check "Upgrading Sympa" in the Administration Manual for upgrading instruction.

CVE Numbers

CVE-2021-46900

References

Change log

Top of Page