YesWiki
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in yeswiki/yeswiki
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki’s public Bazar entry-listing APIs are vulnerable to unauthenticated SQL injection in numeric query / queries filters. For Bazar fields whose value structure is numeric, YesWiki escapes the attacker-controlled filter value but inserts it into SQL without quotes or numeric validation. An unauthenticated attacker can inject boolean SQL expressions and infer database contents from whether entries are returned. This issue has been patched in version 4.6.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.6.6
Fixed in 4.6.6
Mitigation
Upgrade yeswiki to 4.6.6 or later.
References
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
- Patch github.com/YesWiki/yeswiki/commit/f3b0dd093a7a…
- Release notes github.com/YesWiki/yeswiki/releases/tag/v4.6.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.