CVE-2024-41962
Bostr Improper Authorization vulnerability
Auswirkung
Even with `authorized_keys` is filled with allowed pubkeys, If `noscraper` is enabled, It will allow anyone to use bouncer even it's pubkey is not in `authorized_keys`. ### Impact - Private bouncer ### Patches Available on version [3.0.10](https://github.com/Yonle/bostr/releases/tag/3.0.10) ### Workarounds Disable `noscraper` if you have `authorized_keys` being set in config ### References This [line of code](https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21) is the cause.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | bostr | < 3.0.10 | 3.0.10 |
Betroffene Produkte · Yonle
| Produkt | Betroffene Versionen |
|---|---|
| Bostr | vor 3.0.10 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21
- https://github.com/Yonle/bostr/commit/49181f4ec9ae1472c6675cab56bbc01e723855af
- https://github.com/Yonle/bostr/releases/tag/3.0.10
- https://github.com/Yonle/bostr/security/advisories/GHSA-5cf7-cxrf-mq73
- https://github.com/advisories/GHSA-5cf7-cxrf-mq73
- https://nvd.nist.gov/vuln/detail/CVE-2024-41962