VDB
EN
CRITICAL 9.8

GHSA-2rgp-f66f-4499

Goobi viewer - Core: Unauthenticated Solr Streaming Expression Proxy

상세

### Summary

The Goobi viewer REST endpoint `POST /api/v1/index/stream` accepted an arbitrary Solr streaming expression from unauthenticated network clients and forwarded it to the backend Solr server without restriction. An attacker could read the complete Solr index and, in default Solr deployments, also modify or delete indexed records.

The API endpoint has now been removed.

### Impact

- **Complete Solr index read without authentication.** All documents indexed by the viewer including those protected by access conditions such as moving walls, licence requirements or IP restrictions - can be read in full.

- **Index data modification.** `update()` streaming expressions overwrite indexed field values. An attacker can alter metadata, change `ACCESSCONDITION` values, or corrupt document structure.

- **Index data deletion.** `delete()` streaming expressions permanently remove documents. A single expression can delete the entire collection, requiring a full re-index to recover.

### Patches

The endpoint was removed in 326980f24c

### Workarounds

Until an update can be deployed, the endpoint should be blocked by a reverse proxy or in the tomcat configuration.

For Apache httpd the following block can be used in the vhost configuration:

``` <LocationMatch ^.*api/v[12]/index/stream.*$> Require all denied </LocationMatch> ```

Alternatively the following security constraint can be added in tomcat via the relevant web.xml: ``` <security-constraint> <web-resource-collection> <web-resource-name>blocked endpoint</web-resource-name> <url-pattern>/api/v1/index/stream</url-pattern> <url-pattern>/api/v1/index/stream/*</url-pattern> </web-resource-collection> <auth-constraint/> </security-constraint> ```

### References

- Fix commit: 326980f24c - Introducing commit: 6bfb1cbd42 - [Solr Streaming Expressions reference](https://solr.apache.org/guide/solr/latest/query-guide/streaming-expressions.html)

### Contact

If you have any questions or comments about this advisory:

- Email us at [support@intranda.com](mailto:support@intranda.com)

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Maven / io.goobi.viewer:viewer-core
최초 영향 버전: 4.8.0

No fixed version published yet for io.goobi.viewer:viewer-core (maven). Pin to a known-safe version or switch to an alternative.

참고