Advisory

DEBIAN-CVE-2025-1131

Also known as: CVE-2025-1131

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-09-23 05:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

asterisk

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:22.5.1~dfsg+~cs6.15.60671435-1 (ecosystem)

Fixed versions

1:22.5.1~dfsg+~cs6.15.60671435-1

Fix

  • Fixed version 1:22.5.1~dfsg+~cs6.15.60671435-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences