提交 #803102: eyoucms EyouCMS <=1.7.9 Code Injection信息

标题eyoucms EyouCMS <=1.7.9 Code Injection
描述A vulnerability was found in EyouCMS up to 1.7.9. It affects the function editFile of the file application/admin/logic/FilemanagerLogic.php of the component Template File Handler. The manipulation of template content via the ThinkPHP {:function()} tag leads to remote code execution. The editFile() method checks for various PHP syntax patterns (<?php, {eyou:php}, {php}, etc.) but completely misses the ThinkPHP native {:function()} template tag, which is compiled into raw PHP code (<?php echo function(); ?>) and executed when the frontend page is rendered. An authenticated admin can inject {:system("command")} to achieve arbitrary command execution on the server. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
来源⚠️ https://gitee.com/weng_xianhu/eyoucms/issues/IILDJS
用户
 anch0r (UID 96691)
提交2026-04-12 14時50分 (2 月前)
管理2026-04-29 11時35分 (17 days later)
状态已接受
VulDB条目360113 [EyouCMS 直到 1.7.9 Template File FilemanagerLogic.php editFile 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!