Opis (engleski)
Spug before 4.1.1 contains an information disclosure vulnerability that allows authenticated non-administrator users to read per-host SSH private keys through the GET /api/host/ endpoint. Users granted a host can read the cleartext pkey field returned by Host.to_view and log in directly over SSH, bypassing Spug's permissions and audit trail even after revocation.
Zahvaćeni proizvodi i verzije
openspug spug< 4.1.1Ispravljeno u: 4.1.1
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Visok utjecaj
- Integritet
- Bez utjecaja
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-201 Insertion of Sensitive Information Into Sent Data
Reference
- github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg objava proizvođača
- github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9 patch
- github.com/openspug/spug/releases/tag/v4.1.1
- github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34
- github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36
- www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.