Description
Semantic MediaWiki from 3.0.0 before 7.3.1 contains an algorithmic complexity vulnerability in TermParser::normalize_compact_form() that allows unauthenticated attackers to cause quadratic CPU consumption. Attackers can submit long search terms with many distinct in:(...) or has:(...) expressions to Special:Search to exhaust PHP search workers when the extended search engine is enabled.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SemanticMediaWiki | SemanticMediaWiki | 3.0.0 – < 7.3.1 | 7.3.1 |
References
- GitHub Security Advisory (GHSA-j2r2-7qpg-p675) vendor-advisory
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/c2bf1699dec4016e21ce52613152bda799ce87d4 patch
- VulnCheck Advisory: Semantic MediaWiki 3.0.0 before 7.3.1 Denial of Service via Special:Search Compact Filters third-party-advisory