CoreShop — это расширенное решение для электронной коммерции Pimcore. В версиях с 5.0.1 по 5.1.0-beta.1 рабочий процесс GitHub Actions (`.github/workflows/static.yml`) использует триггер `pull_request_target`, но опасно извлекает непроверенный код из заголовка запроса на включение (`ref: ${{ github.event.pull_request.head.ref }}`). Впоследствии он выполняет сценарий («bin/console») из этой ненадежной проверки.
Это позволяет любому внешнему злоумышленнику добиться удаленного выполнения кода (RCE) в средстве запуска действий GitHub, просто отправив вредоносный запрос на включение. Также известна как уязвимость «Запрос Pwn». На момент публикации pull_request_target все еще находится в файле.
Показать оригинальное описание (EN)
CoreShop is a Pimcore enhanced eCommerce solution. In versions 5.0.1 through 5.1.0-beta.1,, the GitHub Actions workflow (`.github/workflows/static.yml`) uses the `pull_request_target` trigger but dangerously checks out the unverified code from the pull request head (`ref: ${{ github.event.pull_request.head.ref }}`). Subsequently, it executes a script (`bin/console`) from this untrusted checkout. This allows any external attacker to achieve Remote Code Execution (RCE) on the GitHub Actions runner simply by submitting a malicious Pull Request. Also known as a "Pwn Request" vulnerability. As of time of publication, `pull_request_target` is still in the file.
Характеристики атаки
Последствия
Строка CVSS v3.1