Skip to content

Ampache v6.2.1 Stored XSS

Low
lachlan-00 published GHSA-prw2-7cr3-5mx8 Mar 27, 2024

Package

No package listed

Affected versions

<=6.2.1

Patched versions

<=6.3.1

Description

Summary

Stored Cross Site Scripting (XSS) vulnerability in ampache before v6.2.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.

Severity: low

Details

POST /preferences.php?action=admin_update_preferences HTTP/1.1
Host: localhost
Origin: http://localhost
Referer: http://localhost/admin/users.php?action=show_preferences&user_id=1

The affected parameters include: api_hidden_playlists, libitem_browse_alpha, custom_blankalbum, custom_blankmovie and so on.

PoC

" onmouseout=alert(1) "

Impact

Stored XSS

Severity

Low
3.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

CVE ID

CVE-2024-28853

Weaknesses

Credits