Description
VanBlog through 0.54.0 contains an information disclosure vulnerability that allows unauthenticated attackers to read private and hidden articles via the POST /api/public/article/:id endpoint. Attackers can submit any non-empty password for private articles lacking an effective password, or request hidden articles, since getByIdWithPassword never checks the hidden flag, exposing full article content.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Mereithhh vanblog
Default version status: unaffected
0 to ≤ 0.54.0affected
References
- https://github.com/Mereithhh/vanblog/issues/611 ↗
- https://github.com/Mereithhh/vanblog ↗
- https://github.com/Mereithhh/vanblog/blob/8eb670b88e05572fd3c6039a89759abb6745dcab/packages/server/src/provider/article/article.provider.ts#L751-L780 ↗
- https://github.com/Mereithhh/vanblog/commit/81b868f4d568c8accff62b9c35d0e556d1e7970d ↗
- https://www.vulncheck.com/advisories/vanblog-through-0.54.0-private-article-disclosure-via-public-password-endpoint ↗