kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-61457 Grav before 1.0.3 Remote Code Execution via File Upload Extension Bypass

설명

The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 contains a file upload extension bypass in the API media controller. HandlesMediaUploads::validateFileExtension() inspects only the final file extension via pathinfo($filename, PATHINFO_EXTENSION), so a user with api.media.write permission can upload a file with a double extension such as shell.php.jpg to bypass the dangerous extensions blocklist. The web server may then execute the file as PHP, resulting in remote code execution.

영향 받는 제품 제품 1개

  • getgrav

    grav

    해결 버전 있음

    영향 받는 버전

    • 1.0.3 미만

    해결 버전

    • 1.0.3 이상
    • 1.0.3

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의