FreeBSD : sympa - Security flaws in setuid wrappers (61bc44ce-9f5a-11ea-aff3-f8b156c2bfe9)

high Nessus Plugin ID 136940

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

A vulnerability has been discovered in Sympa web interface by which attacker can execute arbitrary code with root privileges. Sympa uses two sorts of setuid wrappers :

- FastCGI wrappers

- newaliases wrapper

The FastCGI wrappers wwsympa-wrapper.fcgi and sympa_soap_server-wrapper.fcgi were used to make the web interface running under privileges of a dedicated user.

The newaliases wrapper (sympa_newaliases-wrapper) allows Sympa to update the alias database with root privileges.

Since these setuid wrappers did not clear environment variables, if environment variables like PERL5LIB were injected, forged code might be loaded and executed under privileges of setuid-ed users.

Solution

Update the affected package.

See Also

https://sympa-community.github.io/security/2020-002.html

http://www.nessus.org/u?fa7ad2b6

Plugin Details

Severity: High

ID: 136940

File Name: freebsd_pkg_61bc44ce9f5a11eaaff3f8b156c2bfe9.nasl

Version: 1.1

Type: local

Published: 5/28/2020

Updated: 5/28/2020

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:sympa, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 5/26/2020

Vulnerability Publication Date: 5/24/2020