2.0 LOW
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): HIGH
- Privileges required (PR): HIGH
- User interaction (UI): REQUIRED
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): LOW
- Availability impact (A): NONE
Activity log
- Created suggestion
Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection
Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, the ast_xml_open() function in xml.c parses XML documents using libxml with unsafe parsing options that enable entity expansion and XInclude processing. Specifically, it invokes xmlReadFile() with the XML_PARSE_NOENT flag and later processes XIncludes via xmlXIncludeProcess().If any untrusted or user-supplied XML file is passed to this function, it can allow an attacker to trigger XML External Entity (XXE) or XInclude-based local file disclosure, potentially exposing sensitive files from the host system. This can also be triggered in other cases in which the user is able to supply input in xml format that triggers the asterisk process to parse it. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.
References
-
https://github.com/asterisk/asterisk/security/advisories/GHSA-85x7-54wr-vh42 x_refsource_CONFIRM
Affected products
- ==< 21.12.1
- ==< 22.8.2
- ==< 23.2.2
- ==< 20.7-cert9
- ==< 20.18.2
Matching in nixpkgs
pkgs.asterisk_18
Software implementation of a telephone private branch exchange (PBX)
-
nixos-unstable 18.26.3
pkgs.asterisk_20
Software implementation of a telephone private branch exchange (PBX)
pkgs.asterisk_22
Software implementation of a telephone private branch exchange (PBX)
pkgs.asterisk_23
Software implementation of a telephone private branch exchange (PBX)
pkgs.asterisk-ldap
Software implementation of a telephone private branch exchange (PBX)
pkgs.asterisk-module-sccp
Replacement for the SCCP channel driver in Asterisk
-
nixos-unstable 4.3.5
pkgs.python312Packages.asterisk-mbox
Client side of a client/server to interact with Asterisk voicemail mailboxes
-
nixos-unstable 0.5.0
pkgs.python313Packages.asterisk-mbox
Client side of a client/server to interact with Asterisk voicemail mailboxes
pkgs.python314Packages.asterisk-mbox
Client side of a client/server to interact with Asterisk voicemail mailboxes
Package maintainers
-
@DerTim1 Tim Digel <tim.digel@active-group.de>
-
@auntieNeo Jonathan Glines <auntieNeo@gmail.com>
-
@yorickvP Yorick van Pelt <yorickvanpelt@gmail.com>
-
@dasJ Janne Heß <janne@hess.ooo>
-
@dotlambda ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86 <nix@dotlambda.de>