Cloudanix VulnDB

CVE-2024-51487

High · 8.1

CVSS

8.1

EPSS

0.4%

Published

Nov 11, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a web-based music and video streaming app could let attackers secretly change important settings that only managers should control.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Data Tampering
Component
Application
Class
CSRF
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw is improper validation of CSRF tokens when activating or deactivating catalogs, allowing forged requests to modify administrator-only settings.

Why it matters to the business

Attackers could alter core streaming and file management features without authorization, leading to service disruption or unauthorized configuration changes that affect availability and data access for users.

How an attack unfolds

An attacker creates a malicious webpage containing a crafted request to catalog activation or deactivation endpoints; when an authenticated administrator visits the page, the browser submits the request without proper token validation, executing the change.

How to fix it

Upgrade ampache/ampache (GIT) to the fixed commit 312765c0cc5e12a4208b70d2739a021be144230d (version 7.0.1). No workarounds exist.

How to confirm the fix worked

Confirm deployment of commit 312765c0cc5e12a4208b70d2739a021be144230d, then verify that catalog activation and deactivation endpoints now enforce valid CSRF tokens on all requests.

Typical attack path

  1. Locate catalog activation or deactivation endpoints in the application
  2. Craft a cross-origin request that omits or bypasses CSRF token checks
  3. Host the request on an attacker-controlled site and induce an authenticated administrator to visit it
  4. Trigger unauthorized catalog state changes

How to detect it

Inspect web server and application logs for catalog activation or deactivation requests lacking valid referrers or originating from unexpected sources; review audit trails for state changes performed without corresponding legitimate administrative sessions.

What your security team should do

  • Immediately upgrade to the fixed version 7.0.1
  • Audit recent catalog configuration changes for unauthorized modifications
  • Implement additional CSRF protections at the web application firewall level until upgrade is complete

The record

Ampache is a web based audio/video streaming application and file manager. The current implementation of token parsing fails to properly validate CSRF tokens when activating or deactivating catalog. This vulnerability allows an attacker to exploit CSRF attacks, potentially enabling them to change website features that should only be managed by administrators through malicious requests. This issue has been addressed in version 7.0.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:16.04:LTS ampache 0 No fix
Ubuntu:Pro:16.04:LTS ampache 0 No fix

Related vulnerabilities