CVE-2025-47916 Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to…
설명
Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
Invision Community 5.0.0 이전 5.0.7은 만들어진 템플릿 문자열을 통해 원격 코드 실행을 themeeditor.php로 허용합니다. 이 문제는 테마 편집기 컨트롤러(파일: /applications/core/modules/front/system/themeeditor.php) 내에 있으며, 여기서 customCss라는 이름의 보호된 메서드는 인증되지 않은 사용자가 호출할 수 있습니다. 이 메서드는 content 파라미터의 값을 Theme::makeProcessFunction() 메서드에 전달합니다. 따라서 템플릿 엔진에서 평가됩니다. 따라서, 이것은 인증되지 않은 공격자가 조작된 템플릿 문자열을 제공함으로써 임의의 PHP 코드를 삽입하고 실행하기 위해 악용될 수 있다.
영향 받는 제품 제품 1개
-
해결 버전 있음
invisioncommunity
Invision Power Board
영향 받는 버전
- 5.0.0 이상 5.0.7 미만
해결 버전
- 5.0.7 이상