All vulnerabilities

Servers and applications

GHSA-gw65-cpc7-hww6

Unauthenticated blind Server-Side Request Forgery in the public Bazar API via idtypeannonce

Severity
Medium
Published
1 Sept 2026
Last changed
1 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Weakness
Server-side request forgery (CWE-918)
Sources
Project advisories (GitHub)

Description

The public API route GET /api/entries/bazarlist accepts an attacker-controlled URL in the idtypeannonce parameter and fetches it server-side with no scheme, host, or IP validation, giving any unauthenticated visitor a blind Server-Side Request Forgery primitive (internal network probing, interaction with internal services).

tools/bazar/controllers/ApiController.php:463 exposes the route as public:

The idtypeannonce value flows into BazarListService::getEntries() → external-URL extraction → ExternalBazarService::loadURLContent(), which performs a raw curl fetch:

The intended gate, BazarListService::isValidURL(), is an unconditional stub:

No read-back was observed (blind); the error response echoes the target URL string only.

  • Unauthenticated blind SSRF: the YesWiki server acts as a proxy to arbitrary hosts and ports, enabling internal network scanning and interaction with internal services (metadata endpoints, internal APIs).
From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References