LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32644: Cross-site Scripting in Random.php

Ampache is an open source web based audio/video streaming application and file manager. Due to a lack of input filtering versions 4.x.y are vulnerable to code injection in random.php. The attack requires user authentication to access the random.php page unless the site is running in demo mode. This issue has been resolved in 4.4.3.

MediumCVSS 6.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Ampache 4.x versions before 4.4.3 can allow a logged-in user to inject script through the random.php page. The issue is less severe than remote unauthenticated takeover, but it can still affect browser trust, session integrity, and user-facing content in exposed Ampache deployments.

Executive priority

Schedule remediation in the normal vulnerability cycle, faster for internet-facing or demo-mode deployments. This is a credible web application security issue with limited impact in the published scoring, not a confirmed mass-exploitation emergency based on the provided evidence.

Technical view

CVE-2021-32644 is CWE-79 XSS/code injection in Ampache random.php caused by missing input filtering in versions >=4.0.0 and <4.4.3. CVSS 3.1 is 6.4: network reachable, low complexity, low privileges, no user interaction, changed scope, and low confidentiality/integrity impact. The issue is reported resolved in 4.4.3.

Likely exposure

Internet-facing Ampache 4.x deployments before 4.4.3 are the main concern. Exploitation generally requires authenticated access to random.php, unless the site is running in demo mode. Systems without Ampache, or already on 4.4.3 or later, are not indicated as affected by the supplied sources.

Exploitation context

The supplied sources do not show CISA KEV listing or active exploitation evidence. The advisory states authentication is required unless demo mode is enabled. Treat demo-mode or broadly accessible Ampache instances as higher urgency because the normal authentication barrier may not apply.

Researcher notes

Focus review on Ampache random.php input handling and affected version boundaries. The public record identifies lack of input filtering and XSS/code injection, but this analysis intentionally avoids exploit mechanics. Use the linked advisory and fixing commit for precise remediation context.

Mitigation direction

  • Upgrade Ampache to version 4.4.3 or later.
  • Check Ampache vendor guidance before relying on compensating controls.
  • Disable demo mode if it is enabled.
  • Restrict access to Ampache to trusted users and networks where feasible.
  • Review exposed Ampache instances for unsupported 4.x versions.

Validation and detection

  • Inventory all Ampache deployments and record their versions.
  • Flag any Ampache version >=4.0.0 and <4.4.3.
  • Confirm random.php is not reachable without authentication.
  • Verify demo mode is disabled on production instances.
  • After upgrade, confirm the reported version is 4.4.3 or later.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32644 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.4 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.4CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N3.12.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.4Medium
CVSS 3.1 vector shape for CVE-2021-32644Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ampacheampache>= 4.0.0, < 4.4.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.