goobi-viewer-core: Goobi viewer: cleanUpQuery double-brace bypass allows arbitrary Solr local-param injection
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. From version 23.03 to before version 26.05, SolrTools.cleanUpQuery() strips Solr local-parameter syntax ({!...}) from user-supplied query strings before they reach Solr. Its regex can be bypassed by wrapping the local parameter in a second pair of curly braces ({{!...}}): the outer braces are stripped, the inner {!...} survives intact, and a valid Solr local parameter is forwarded. The flaw is in the shared sanitizer, so it affects any endpoint that routes user input through cleanUpQuery. The double-brace bypass applies from v23.10 (the greedy \{(.+)\} regex); a related bare-!join rewrap path is present. This issue has been patched in version 26.05.
Text from CVE List
Affected versions 1
- goobi-viewer-coreaffected: >= 23.03, < 26.05CVE List
References 4
- github.com/intranda/goobi-viewer-core/commit/330da2f8255a9ed2200ba46b98bb9b6a88748a4eFixvia CVE List
- github.com/intranda/goobi-viewer-core/commit/5a59ffa5d76169a4ad3cc396023ad4a4eca217daFixvia CVE List
- github.com/intranda/goobi-viewer-core/releases/tag/v26.05Fixvia CVE List
- github.com/intranda/goobi-viewer-core/security/advisories/GHSA-2r24-qxpf-cj65Advisoryvia CVE List