cve.bz

CVE-2025-1131 sangoma: Uncontrolled Search Path Element

7.0 highExploit referenceEPSS 0.2%

High (7.0) in sangoma. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/startup.d/ as root, without validating ownership or permissions. Non-root users with legitimate write access to /etc/asterisk can exploit this behaviour by placing malicious scripts in the startup.d directory, which will then execute with root privileges upon service restart.

Severity

CVSS 4.0

7.0 high
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N/V:C/RE:H/U:Amber

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-09-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-427 Uncontrolled Search Path Element
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-1131 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-1131?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-1131?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-1131 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sangoma:asteriskbefore 18.26.3
sangoma:asteriskfrom 20.0.0 before 20.15.1
sangoma:asteriskfrom 21.0.0 before 21.10.1
sangoma:asteriskfrom 22.0.0 before 22.5.1
sangoma:certified_asterisk18.9:cert1
sangoma:certified_asterisk18.9:cert1-rc1
sangoma:certified_asterisk18.9:cert10
sangoma:certified_asterisk18.9:cert11
sangoma:certified_asterisk18.9:cert12
sangoma:certified_asterisk18.9:cert13
sangoma:certified_asterisk18.9:cert14
sangoma:certified_asterisk18.9:cert15
sangoma:certified_asterisk18.9:cert2
sangoma:certified_asterisk18.9:cert3
sangoma:certified_asterisk18.9:cert4
sangoma:certified_asterisk18.9:cert5
sangoma:certified_asterisk18.9:cert6
sangoma:certified_asterisk18.9:cert7
sangoma:certified_asterisk18.9:cert8
sangoma:certified_asterisk18.9:cert8-rc1
sangoma:certified_asterisk18.9:cert8-rc2
sangoma:certified_asterisk18.9:cert9
sangoma:certified_asterisk20.7:cert1
sangoma:certified_asterisk20.7:cert1-rc1
sangoma:certified_asterisk20.7:cert1-rc2
sangoma:certified_asterisk20.7:cert2
sangoma:certified_asterisk20.7:cert3
sangoma:certified_asterisk20.7:cert4
sangoma:certified_asterisk20.7:cert5
sangoma:certified_asterisk20.7:cert6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11asterisk1:16.28.0~dfsg-0+deb11u8DLA-4326-1
Debian14asterisk1:22.5.1~dfsg+~cs6.15.60671435-1DEBIAN-CVE-2025-1131
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 2 moreasteriskno fix listedUBUNTU-CVE-2025-1131

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-471 Search Order Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON