Submit #1057881: dayrui XunRuiCMS 4.7.4 Code Injectioninfo

Titeldayrui XunRuiCMS 4.7.4 Code Injection
BeschreibungXunRuiCMS 4.7.4 (latest release, 2026-10-23) suffers from persistent remote code execution via array-key injection in the category list-field configuration feature. The admin endpoint admin.php?c=category&m=config_add (dayrui/App/Cms/Extends/Admin/Category.php:390-392) stores the entire POST 'data' array without validating array keys and persists it via var_export into cache/config/category.php (dayrui/Fcms/Library/Config.php:78-93 - no key sanitization, unlike to_require_array()). Keys of list_field are concatenated unescaped into a template string (Category.php:188-195) which is rendered through eval("\$nstr = \"$list\";") (Category.php:346-348) on every category-list page view. A key beginning with '${' executes arbitrary PHP expressions inside the double-quoted eval context. The injected key persists across restarts and cache refreshes, acting as a persistent backdoor. Impact: arbitrary code execution with web-server (www-data) privileges, database credentials readable, full site compromise. Reachability was verified dynamically: a role granted only the standard category-management permission completes the full chain, while zero-permission admin roles are blocked by the permission gate (control test). The write endpoint performs no CSRF token validation (installer default SYS_CSRF='0'; the framework applies its CSRF filter to the admin area only at level '2'). Vendor was informed through national CERT coordination (CNVD submission, 2026-10-27); the vendor maintains an active CNVD-based advisory process (45 published advisories). No matching entry exists on the vendor advisory page, in VulDB, CVE, or CNVD public data.
Quelle⚠️ https://github.com/riyuedeqi/xunruicms-4.7.4-eval-rce
Benutzer
 riyuedeqi (UID 101865)
Einreichung26.10.2026 22:25 (vor 29 Tagen)
Moderieren25.11.2026 07:50 (29 days later)
StatusAkzeptiert
VulDB Eintrag443648 [dayrui XunRuiCMS bis 4.7.4 Category Category.php config_add list_field erweiterte Rechte]
Punkte20

Do you know our Splunk app?

Download it now for free!