PT-2024-32462 · Unknown+1 · Shields.Io+1

Nickcopi

·

Published

2024-09-26

·

Updated

2024-09-30

·

CVE-2024-47180

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Shields.io versions prior to server-2024-09-25
Description The issue concerns a remote execution vulnerability via the JSONPath library used by the Dynamic JSON/Toml/Yaml badges. This vulnerability allows any user with access to make a request to a URL on the instance to execute code by crafting a malicious JSONPath expression. All users who self-host an instance are vulnerable. The problem was fixed in version server-2024-09-25.
Recommendations For versions prior to server-2024-09-25, update to server-2024-09-25 or later. As a temporary workaround, consider blocking access to the endpoints "/badge/dynamic/json", "/badge/dynamic/toml", and "/badge/dynamic/yaml" (e.g., via a firewall or reverse proxy in front of your instance) to prevent the exploitable endpoints from being accessed. For those who follow the rolling tag on DockerHub, update to the latest version by running docker pull shieldsio/shields:next.

Exploit

Fix

Special Elements Injection

Weakness Enumeration

Related Identifiers

CVE-2024-47180
GHSA-RXVX-X284-4445

Affected Products

Jsonpath
Shields.Io