Commit 8a76e81
committed
fix(security): protect skServer utility routes with auth
A route prefix mismatch registered the inputTest auth middleware for
/skServer/skServer/inputTest, leaving POST /skServer/inputTest
unauthenticated and letting unauthenticated callers drive the NMEA
parser engines. The nodeInfo, debugKeys and paths diagnostic endpoints
were also uncovered.
Correct the prefix and add auth middleware for the diagnostic routes.1 parent b251717 commit 8a76e81
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
768 | | - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
769 | 772 | | |
770 | 773 | | |
771 | 774 | | |
| |||
0 commit comments