YesWiki
YesWiki 4.6.0 before 4.7.0 SQL Injection via Bazar Entries Search API
YesWiki 4.6.0 before 4.7.0 and 5.0.0-alpha1 before 5.0.0-alpha4 contains an unauthenticated SQL injection vulnerability in SearchManager::prepareSearchRequest(). Field names from the query and searchfields parameters of the public Bazar entries search API are placed in a backtick-quoted alias escaped only with mysqli_real_escape_string. Attackers can supply a backtick to inject subqueries, reading data such as user password hashes or exhausting database threads with SLEEP().
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CNA · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
YesWiki yeswiki
- >= 4.6.0, < 4.7.0
Fixed in 4.7.0
YesWiki yeswiki
- >= 5.0.0-alpha1, < 5.0.0-alpha4
Fixed in 5.0.0-alpha4
Mitigation
Upgrade yeswiki to 4.7.0 or later.
Upgrade yeswiki to 5.0.0-alpha4 or later.
References
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.