Mittel

copyparty vulnerable to reflected cross-site scripting via hc parameter

  • Veröffentlicht: 21.07.2023
  • Aktualisiert: 11.10.2026 12:19

Summary

The application contains a reflected cross-site scripting via URL-parameter ?hc=...

Details

A reflected cross-site scripting (XSS) vulnerability exists in the web interface of the application that could allow an attacker to execute malicious javascript code by tricking users into accessing a malicious link.

The worst-case outcome of this is being able to move or delete existing files on the server, or upload new files, using the account of the person who clicks the malicious link.

It is recommended to change the passwords of your copyparty accounts, unless you have inspected your logs and found no trace of attacks.

Checking for exposure

if copyparty is running behind a reverse proxy, you can check the access-logs for traces of attacks, by grepping for URLs containing ?hc= with < somewhere in its value, for example using the following command:

  • nginx:
    bash
    (gzip -dc access.log*.gz; cat access.log) | sed -r 's/" [0-9]+ .*//' | grep -E '[?&](hc|pw)=.*[<>]'

PoC

  • http://127.0.0.1:3923/?hc="><script>alert(1);</script>
  • http://127.0.0.1:3923/?pw=<script>alert(1);</script>

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) copyparty < 1.8.6 1.8.6

Verweise

CVSS-Wert 6.3/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Schwäche (CWE)
CWE-79
Plattform
Python (PyPI)
Paket
copyparty
Veröffentlicht
21.07.2023
Aktualisiert
11.10.2026 12:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-cw7j-v52w-fp5r - CC BY 4.0

Schwachstellenhistorie: copyparty

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (14) im Archiv
Einträge insgesamt
14
Erste → letzte
07.2023 08.2026
Ohne Fix
1
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 3
  • Mittel 8
  • Niedrig 3

Veröffentlichungen pro Jahr

  1. 2023: 3
  2. 2024: 0
  3. 2025: 6
  4. 2026: 5
Schweregrad:
  1. copyparty vulnerable to reflected cross-site scripting via hc parameter dieser Eintrag
    Mittel · 6.3 ghsa-cw7j-v52w-fp5r < 1.8.6 1.8.6
  2. Hoch · 7.5 CVE-2023-37474 < 1.8.2 1.8.2

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.