Description (CNA)
goshs is a feature-rich single-binary file server for red teamers and developers. Prior to 2.1.5, the httpserver/handler.go sendFile handler opened files using a cleaned path but derived the authorization filename from raw req.URL.Path, so a trailing slash could bypass .goshs ACL-file protection and block-list checks. This issue is fixed in version 2.1.5.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| goshs-labs / goshs | affected < 2.1.5 |
CWE
CWE-41, CWE-863
References
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236
- https://github.com/goshs-labs/goshs/pull/222
- https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa
ADP enrichment
No English description supplied.
No references supplied.