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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://downloads.asterisk.org/pub/security/AST-2022-009.html | patch vendor advisory |
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html | mailing list |
https://www.debian.org/security/2023/dsa-5358 | vendor advisory |