Privilege escalation in Sympa



Published: 2020-10-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-26880
CWE ID CWE-78
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Sympa
Server applications / Mail servers

Vendor sympa.org

Security Advisory

This security advisory describes one low risk vulnerability.

1) OS Command Injection

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-26880

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to incorrect default permissions for the sympa.conf configuration file. A local user with access to modify the file (e.g. the sympa user account) can injection and execute arbitrary OS commands in the system with root privileges via the setuid sympa_newaliases-wrapper executable by parsing the modified sympa.conf file.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Sympa: 0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008, 0.009, 0.010, 0.011, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.1-2, 1.3.2, 1.3.3, 1.3.4, 1.3.4-1, 1.4.0, 1.4.1, 1.4.2, 1.4.2-1, 1.5, 2.2.1b, 2.2.2b, 2.2.3b, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2b, 2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3beta, 2.4, 2.5, 2.5.1, 2.5.2, 2.5.3b, 2.5.4b, 2.6, 2.6.1, 2.7, 2.7.1, 2.7.2, 2.7.3, 2.7a, 2.7b.1, 2.7b.2, 2.7b.3, 3.0, 3.0a, 3.0a.1, 3.0b.4, 3.0b.8, 3.0b.9, 3.1, 3.1.1, 3.1b.7, 3.1b.8, 3.1b.9, 3.1b.10, 3.1b.12, 3.1b.13, 3.2, 3.2.1, 3.2.2a, 3.3, 3.3.1, 3.3.3, 3.3.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 6.2.12, 6.2.13, 6.2.14, 6.2.15, 6.2.16, 6.2.17b.1, 6.2.17b.2, 6.2.18, 6.2.19b.1, 6.2.19b.2, 6.2.20, 6.2.22, 6.2.23b.1, 6.2.23b.2, 6.2.24, 6.2.25b.1, 6.2.25b.2, 6.2.25b.3, 6.2.26, 6.2.28, 6.2.30, 6.2.32, 6.2.48, 6.2.49, 6.2.50, 6.2.52, 6.2.54, 6.2.56, 6.2a.0, 6.2a.2, 6.2a.3, 6.2a.19, 6.2a.20, 6.2a.25, 6.2a.26, 6.2a.27, 6.2a.28, 6.2a.29, 6.2a.30, 6.2a.32, 6.2a.33, 6.2a.35, 6.2a.36, 6.2a.37, 6.2a.38, 6.2a.39, 6.2a.40, 6.2a.41, 6.2a.42, 6.2a.43, 6.2b.1, 6.2b.2, 6.2b.3, 6.2b.4, 6.2b.5, 6.2b.6, 6.2b.7, 6.2b.8, 6.2b.9

CPE External links

https://github.com/sympa-community/sympa/issues/1009
https://github.com/sympa-community/sympa/issues/943#issuecomment-704779420
https://github.com/sympa-community/sympa/issues/943#issuecomment-704842235

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

The attacker would have to login to the system and perform certain actions in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###