PT-2022-1907 · Unknown+10 · Cyrus-Sasl+10

Published

2022-02-22

·

Updated

2024-07-01

·

CVE-2022-24407

CVSS v2.0

9.4

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions Cyrus SASL versions 2.1.17 through 2.1.27
Description The issue is related to the implementation of the authentication mechanism in Cyrus SASL, where the SQL query structure is not properly protected. This could allow a remote attacker to execute arbitrary SQL queries. The problem lies in the plugins/sql.c file, which does not escape the password for SQL INSERT or UPDATE statements.
Recommendations For Cyrus SASL versions 2.1.17 through 2.1.27, update to version 2.1.28 or later to resolve the issue. As a temporary workaround, consider restricting access to the plugins/sql.c file or disabling the SQL authentication mechanism until a patch is applied. Avoid using the password variable in SQL INSERT or UPDATE statements until the issue is resolved.

Fix

SQL injection

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:0658
ALT-PU-2023-7323
ALT-PU-2023-7514
ALT-PU-2024-2957
ALT-PU-2024-4059
ALT-PU-2024-4539
ALT-PU-2024-8928
AZL-8794
BDU:2022-01443
BDU:2022-04644
CESA-2022_0658
CESA-2022_0666
CVE-2022-24407
DLA-2931-1
DSA-5087-1
MGASA-2022-0111
MGASA-2023-0095
OESA-2022-1557
OPENSUSE-SU-2022:0743-1
OPENSUSE-SU-2022_0743-1
OPENSUSE-SU-2024:11949-1
RHSA-2022:0658
RHSA-2022:0666
RHSA-2022:0668
RHSA-2022:0730
RHSA-2022:0731
RHSA-2022:0780
RHSA-2022:0841
RHSA-2022:1263
RHSA-2022_0658
RHSA-2022_0666
RHSA-2022_0780
RLSA-2022:0658
SUSE-SU-2022:0653-1
SUSE-SU-2022:0693-1
SUSE-SU-2022:0702-1
SUSE-SU-2022:0743-1
SUSE-SU-2022:0743-2
SUSE-SU-2022:14894-1
SUSE-SU-2022_0653-1
SUSE-SU-2022_0693-1
SUSE-SU-2022_0702-1
SUSE-SU-2022_0743-1
SUSE-SU-2022_14894-1
USN-5301-1
USN-5301-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Cyrus-Sasl
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu