CVE-2022-42706: Path Traversal

Published Dec 5, 2022
·
Updated

An issue was discovered in Sangoma Asterisk through 16.28, 17 and 18 through 18.14, 19 through 19.6, and certified through 18.9-cert1. GetConfig, via Asterisk Manager Interface, allows a connected application to access files outside of the asterisk configuration directory, aka Directory Traversal.

Affected Software

17 affected componentsFixes available
Sangoma Asterisk>=16.0.0<16.29.1
Sangoma Asterisk>=17.0.0<18.15.1
Sangoma Asterisk>=19.0.0<19.7.1
Sangoma Asterisk=20.0.0
Sangoma Certified Asterisk<18.9
Sangoma Certified Asterisk=18.9-cert1
debian/asterisk<1:20.0.1~dfsg+~cs6.12.40431414-1
1:20.0.1~dfsg+~cs6.12.40431414-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
alpine/asterisk>=16.0.0<18.20.2-r0
18.20.2-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0
alpine/asterisk>=16.0.0<18.15.1-r0
18.15.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.1+dfsg+~cs6.17.60671434-1
  2. Upgrade

    Upgrade alpine/asterisk to a version that resolves this vulnerability.

    Fixed in 18.20.2-r0
  3. Upgrade

    Upgrade alpine/asterisk to a version that resolves this vulnerability.

    Fixed in 18.15.1-r0
  4. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:20.0.1~dfsg+~cs6.12.40431414-1

Event History

Dec 5, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-42706?

CVE-2022-42706 is an issue discovered in Sangoma Asterisk that allows a connected application to access files outside of the asterisk configuration directory, aka Directory Traversal.

2

How does CVE-2022-42706 impact Sangoma Asterisk?

CVE-2022-42706 allows an attacker to access files outside of the asterisk configuration directory, potentially leading to unauthorized access or disclosure of sensitive information.

3

What is the severity of CVE-2022-42706?

CVE-2022-42706 has a severity rating of 4.9 (medium).

4

How can I fix CVE-2022-42706?

To fix CVE-2022-42706, it is recommended to upgrade Sangoma Asterisk to the latest version available as per the provided references.

5

Where can I find more information about CVE-2022-42706?

You can find more information about CVE-2022-42706 in the references provided: [link1](https://issues.asterisk.org/jira/browse/ASTERISK-30176), [link2](https://downloads.asterisk.org/pub/security/AST-2022-009.html), [link3](https://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commit;h=81f10e847efdbe8ec264062ee234e1098c29b3f6).

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203