AmpacheApplication

CVE-2024-28853

MEDIUM · 5.9 CVSS v3.1 Published 2024-03-27
Fix available
A fix is available. Upgrade to 6.3.1 or later.
See remediation →
63/100
Remediation priority · Elevated
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Ampache is a web based audio/video streaming application and file manager. Stored Cross Site Scripting (XSS) vulnerability in ampache before v6.3.1 allows a remote attacker to execute code via a crafted payload to serval parameters in the post request of /preferences.php?action=admin_update_preferences. This vulnerability is fixed in 6.3.1.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Stored Cross Site Scripting (XSS) vulnerability in Ampache versions before v6.3.1 allows authenticated remote attackers to inject malicious JavaScript code via crafted POST parameters to the /preferences.php?action=admin_update_preferences endpoint. The malicious payload is stored and executed when other users view the affected preferences.

MitigationUpgrade to Ampache v6.3.1 or later to remediate this vulnerability. As this is an authenticated admin-area vulnerability, also review admin account access and consider implementing input validation and output encoding as defense-in-depth.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
AmpacheApplication
Affected:< 6.3.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Ampache version
    Locate the version file or check the admin interface for the Ampache version number. Common locations include a VERSION file in the root directory or the admin system information page.
    Affected if The installed version is earlier than 6.3.1 (e.g., 6.3.0, 6.2.x, etc.)
  2. Verify admin authentication is required
    Confirm that the /preferences.php?action=admin_update_preferences endpoint requires an authenticated admin session by attempting to access it or reviewing access control configuration.
    Affected if The endpoint is accessible to authenticated administrators; an attacker would need valid admin credentials to exploit this flaw
  3. Inspect stored preferences for XSS payloads
    Query the database or navigate to the preferences section in the admin interface to view stored preference values. Look for any unexpected HTML, JavaScript, or script tags within preference fields.
    Affected if Any preference values contain raw HTML tags, script elements, or JavaScript event handlers that could execute in a user browser
  4. Review web server access logs
    Examine web server access logs for POST requests to /preferences.php with the action=admin_update_preferences parameter, especially those containing suspicious characters like <script>, javascript:, or event handlers.
    Affected if Logs show POST requests to this endpoint containing XSS-like patterns in the parameter values

A user is affected if their Ampache installation is version 6.3.0 or earlier AND they have admin accounts that could be leveraged to inject malicious scripts through the admin_update_preferences endpoint.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 6.3.1 or later
Fixed in 6.3.1
Interim mitigation

Upgrade to Ampache v6.3.1 or later to remediate this vulnerability. As this is an authenticated admin-area vulnerability, also review admin account access and consider implementing input validation and output encoding as defense-in-depth.

Recommended fix High confidence

Ampache 6.3.1

  1. Back up the current Ampache installation and database before upgrading
  2. Download Ampache version 6.3.1 or later from the official Ampache repository or distribution channel
  3. Upgrade the Ampache installation to version 6.3.1 following standard upgrade procedures
  4. Verify the upgrade was successful by accessing the application and confirming the version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Ampache Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-28853 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-28853 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data