Description
Nging through 5.3.5 contains an information disclosure vulnerability that allows any authenticated backend user to list host directories by abusing the public-tagged /user/autocomplete_path endpoint. Low-privileged users without file-manager permission can supply arbitrary paths in the query parameter to enumerate directories readable by the Nging process and confirm specific files exist.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
admpub nging
Default version status: unaffected
0 to ≤ 5.3.5affected
References
- https://github.com/admpub/nging/issues/831 ↗
- https://github.com/admpub/nging/commit/6434d026f668bdb5d59db658036fd6febbd29c0c ↗
- https://github.com/admpub/nging/blob/v5.3.5/application/handler/user/init.go#L28-L42 ↗
- https://github.com/admpub/nging/blob/v5.3.5/application/handler/user/profile.go#L136-L157 ↗
- https://hackmd.io/@hieuPenguinnn/nging-user-autocomplete-path-filesystem-disclosure ↗
- https://github.com/admpub/nging ↗
- https://www.vulncheck.com/advisories/nging-through-5.3.5-directory-listing-disclosure-via-user-autocomplete-path ↗