CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-31497

High
Published: Translated: NVD NIST

Summary

TEIGarage to usługa internetowa i RESTful, która umożliwia transformację, konwersję i walidację różnych formatów, koncentrując się na formacie TEI. Usługa konwersji dokumentów zawiera krytyczną podatność na wstrzyknięcie zewnętrznych jednostek XML (XXE), co pozwala atakującemu na odczyt dowolnych plików z systemu plików serwera.

Risk Assessment

Podatność ta może umożliwić atakującym dostęp do wrażliwych plików, takich jak pliki konfiguracyjne czy dane uwierzytelniające, co może prowadzić do ujawnienia poufnych informacji. Dodatkowo, w zależności od konfiguracji serwera, może być wykorzystana do ataków typu server-side request forgery (SSRF).

Recommendation

Zaleca się aktualizację do wersji 1.2.4, w której problem został naprawiony. Alternatywnie, można wyłączyć przetwarzanie zewnętrznych jednostek w parserze XML, ustawiając odpowiednie opcje.

Related vulnerabilities

Original NVD description (English source)

TEIGarage is a webservice and RESTful service to transform, convert and validate various formats, focussing on the TEI format. The Document Conversion Service contains a critical XML External Entity (XXE) Injection vulnerability in its document conversion functionality. The service processes XML files during the conversion process but fails to disable external entity processing, allowing an attacker to read arbitrary files from the server's filesystem. This vulnerability could allow attackers to read sensitive files from the server's filesystem, potentially exposing configuration files, credentials, or other confidential information. Additionally, depending on the server configuration, this could potentially be used to perform server-side request forgery (SSRF) attacks by making the server connect to internal services. This issue is patched in version 1.2.4. A workaround for this vulnerability includes disabling external entity processing in the XML parser by setting the appropriate se

Vulnerability data from NVD (NIST) · CISA KEV · EPSS