Katalog CVE

CVE-2026-92932

ŚrednieCVSS 5.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.23%

Percentyl 14 - wyżej niż 14% wszystkich znanych CVE

Streszczenie

W bibliotece MISP sachertortephp w metodzie Xml::build() występuje błąd logiczny w warunku sterującym pobieraniem XML z sieci. Z powodu pierwszeństwa operatorów, warunek sprawdzający adresy https:// jest wykonywany nawet gdy opcja readFile jest ustawiona na false, co umożliwia atakującemu wymuszenie wysłania zapytania HTTP/S do dowolnego adresu (SSRF).

Ocena ryzyka

Ryzyko polega na możliwości uzyskania dostępu do wewnętrznych zasobów sieciowych lub ujawnienia informacji z zewnętrznych usług. Atakujący może wykorzystać podatność do przeskanowania sieci lub odczytania danych z wewnętrznych systemów.

Rekomendacja

Należy poprawić warunek logiczny w Xml::build() tak, aby opcja readFile (gdy ustawiona na false) wyłączała również pobieranie dla https. Zaleca się aktualizację do wersji biblioteki zawierającej poprawkę lub zastosowanie obejścia polegającego na walidacji danych wejściowych.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

In the MISP sachertortephp library, the Xml::build() static method in lib/Cake/Utility/Xml.php contains a logic error in the conditional that gates network-based XML fetching. The original condition was written as: $options['readFile'] && strpos($input, 'http://') === 0 || strpos($input, 'https://') === 0. Because PHP's && operator has higher precedence than ||, the expression is evaluated as ($options['readFile'] && strpos($input, 'http://') === 0) || strpos($input, 'https://') === 0. As a result, when a caller explicitly sets the readFile option to false to disable file and URL reading, an input string beginning with https:// still satisfies the condition and triggers a network fetch via HttpSocket (configured to follow up to 10 redirects). The http:// branch is correctly gated by the readFile flag, but the https:// branch is not. An attacker who can influence the $input parameter passed to Xml::build() can therefore force the application to issue an outbound HTTPS request to an attacker-controlled or internal URL, even though the caller intended to suppress all remote reads. The fetched response is parsed as XML and may be returned to the caller, enabling information disclosure from internal services or external targets. This constitutes a Server-Side Request Forgery (SSRF) weakness with an information-disclosure impact. The vulnerability requires that the code path in Xml::build() be reachable with attacker-controlled input and that the readFile option be set to false (or the caller expects it to be false).

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS