🔍 CVE-2026-25524

8.1
CVSS Score
HIGH
2026-04-20
2026-10-26 21:10
✅ 완료

🇰🇷 한글 설명

OpenMage LTS 버전 20.17.0 이전에서 PHP의 getimagesize(), file_exists(), is_readable() 함수가 phar:// 스트림 래퍼를 처리할 때 역직렬화를 트리거합니다. 공격자가 악성 phar 파일을 이미지로 위장하여 업로드한 후 이미지 검증 함수를 호출하게 하면 임의의 코드 실행이 가능합니다.

💡 쉬운 설명

OpenMage 전자상거래 사이트의 이미지 검증 기능에서 특수한 파일 형식(phar)을 악용하여 서버 코드를 실행할 수 있는 취약점입니다. 이미지 업로드 기능이 있는 모든 OpenMage 사이트가 위험합니다.

🇺🇸 원문 (English)

Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, PHP functions such as `getimagesize()`, `file_exists()`, and `is_readable()` can trigger deserialization when processing `phar://` stream wrapper paths. OpenMage LTS uses these functions with potentially controllable file paths during image validation and media handling. An attacker who can upload a malicious phar file (disguised as an image) and trigger one of these functions with a `phar://` path can achieve arbitrary code execution. Version 20.17.0 patches the issue.

📍 영향받는 시스템

OpenMage LTS 버전 20.17.0 이전

⚔️ 공격 벡터

phar 파일을 이미지로 위장하여 업로드 후 getimagesize() 등의 함수를 phar:// 경로로 호출하여 역직렬화 트리거

🛡️ 대응 방법

OpenMage LTS를 버전 20.17.0 이상으로 즉시 업그레이드

🔧 검증 코드

composer.lock에서 openmage 버전을 추출합니다. 버전이 20.17.0 미만이면 취약합니다. 파일이 없으면 설치되지 않은 것입니다.

Shell / Script
grep '"openmage/magento-lts"' composer.lock -A1 2>/dev/null | grep '"version"' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP