External-catalog proxy lets any signed-in user reach any public host
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
Direzione di ricerca
Start by tracing the proxy route and outbound request guard to see how catalog URLs are currently checked; the issue does not name their files, so locate them from the proxy route. Keep the registered external catalog list server-side and reject targets absent from it. Add tests for registered and unregistered targets, including a deceptive prefix match, and update docs/ISSUES.md.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Left open when login was added to the proxy route (#212).
The proxy checks that the requested address belongs to the catalog being browsed, but both values come from request headers the caller sets, and the comparison is a simple prefix match (https://a.com.evil.com passes against https://a.com). So the check is not a real gate: any signed-in user can use the app to fetch from any public host. Private and internal addresses are still blocked by the outbound request guard.
Fix direction: keep the list of external catalogs on the server and allow the proxy to reach only those, instead of trusting headers.
Done when: the proxy refuses a target that is not a registered catalog, with tests, and docs/ISSUES.md is updated.
🤖 Generated with Claude Code
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 2
- Merge medio
- 8h 26m
- PR unite (30g)
- 47
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TechTraverse/stac-higher
-
ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
TechTraverse/stac-higher#261 ·
I maintainer di solito rispondono entro 1 giorno
-
ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TechTraverse/stac-higher#258 ·
I maintainer di solito rispondono entro 1 giorno
-
Error messages hide the server's reason: users see only '400 Bad Request'Forse già presa @aman-code-io l’ha presa 3 giorni fa. Apertabug good first issue ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TechTraverse/stac-higher#232 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TechTraverse/stac-higher#225 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TechTraverse/stac-higher#216 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TechTraverse/stac-higher
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno