CWE
89
Advisory Published
Updated

CVE-2022-26651: SQL Injection

First published: Fri Apr 15 2022(Updated: )

An issue was discovered in Asterisk through 19.x and Certified Asterisk through 16.8-cert13. The func_odbc module provides possibly inadequate escaping functionality for backslash characters in SQL queries, resulting in user-provided data creating a broken SQL query or possibly a SQL injection. This is fixed in 16.25.2, 18.11.2, and 19.3.2, and 16.8-cert14.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Digium Asterisk>=16.0.0<16.25.2
Digium Asterisk>=18.0<18.11.2
Digium Asterisk>=19.0.0<19.3.2
Digium Certified Asterisk=16.8
Digium Certified Asterisk=16.8-cert1-rc1
Digium Certified Asterisk=16.8-cert1-rc2
Digium Certified Asterisk=16.8-cert1-rc3
Digium Certified Asterisk=16.8-cert1-rc4
Digium Certified Asterisk=16.8-cert10
Digium Certified Asterisk=16.8-cert11
Digium Certified Asterisk=16.8-cert12
Digium Certified Asterisk=16.8-cert13
Digium Certified Asterisk=16.8-cert2
Digium Certified Asterisk=16.8-cert3
Digium Certified Asterisk=16.8-cert4
Digium Certified Asterisk=16.8-cert4-rc1
Digium Certified Asterisk=16.8-cert4-rc2
Digium Certified Asterisk=16.8-cert4-rc3
Digium Certified Asterisk=16.8-cert4-rc4
Digium Certified Asterisk=16.8-cert5
Digium Certified Asterisk=16.8-cert6
Digium Certified Asterisk=16.8-cert7
Digium Certified Asterisk=16.8-cert8
Digium Certified Asterisk=16.8-cert9
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/asterisk<=1:16.2.1~dfsg-1+deb10u2
1:16.28.0~dfsg-0+deb10u4
1:16.28.0~dfsg-0+deb11u3
1:20.5.2~dfsg+~cs6.13.40431414-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-26651?

    The severity of CVE-2022-26651 is critical with a CVSS score of 9.8.

  • Which software versions are affected by CVE-2022-26651?

    Asterisk versions through 19.x and Certified Asterisk versions through 16.8-cert13 are affected by CVE-2022-26651.

  • What is the vulnerability description for CVE-2022-26651?

    The func_odbc module in Asterisk provides inadequate escaping functionality for backslash characters in SQL queries, leading to a broken SQL query or a possible SQL injection.

  • How can I fix CVE-2022-26651?

    Upgrade to Asterisk version 20.4.0~dfsg+~cs6.13.40431414-2 or higher, or use the Debian package version 1:16.28.0~dfsg-0+deb10u3, 1:16.28.0~dfsg-0+deb11u3, or 1:20.4.0~dfsg+~cs6.13.40431414-2.

  • What is the Common Weakness Enumeration (CWE) for CVE-2022-26651?

    The CWE for CVE-2022-26651 is CWE-89 (SQL Injection).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203