Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71232: CWE-94 Code Injection in magicblack maccms10

0
High
Published: 08/05/2026 (08/05/2026, 12:31:30 UTC)
Source: CVE Database V5
Vendor/Project: magicblack
Product: maccms10

Description

MacCMS10's admin template editor (application/admin/controller/Template.php) blocks dangerous PHP functions in template content via a blacklist regex, but the blacklist omitted exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log. Combined with ThinkPHP's {if} template tag, which embeds the condition attribute directly into raw PHP (<?php if(condition): ?>), an authenticated administrator could inject a payload such as {if condition="exec('id > /tmp/pwned.txt')"}{/if} to achieve remote code execution. Fixed in commit 71ad3bb29570e110d8e973acff68040a3050ddf0 (2026-06-22), which added the missing functions to the filter.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 11:27:30 UTC

Technical Analysis

The admin template editor in magicblack maccms10 (application/admin/controller/Template.php) attempts to block dangerous PHP functions in template content using a blacklist regex. However, the blacklist omitted functions such as exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log. Because the ThinkPHP {if} template tag embeds the condition attribute directly into raw PHP, an authenticated administrator can inject arbitrary PHP code. For example, a payload like {if condition="exec('id > /tmp/pwned.txt')"}{/if} can be used to execute system commands. The vulnerability was fixed in commit 71ad3bb29570e110d8e973acff68040a3050ddf0 on 2026-06-22 by adding the missing functions to the blacklist filter.

Potential Impact

An authenticated administrator can exploit this vulnerability to execute arbitrary PHP code on the server, leading to remote code execution with the privileges of the web application. This can result in full compromise of the affected system, including confidentiality, integrity, and availability impacts.

Mitigation Recommendations

A fix is available and was implemented in commit 71ad3bb29570e110d8e973acff68040a3050ddf0 on 2026-06-22, which added the missing dangerous PHP functions to the blacklist filter in the template editor. Users should update to a version including this commit. No other mitigation guidance is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a731a7fbf8831d539c95c5e

Added to database: 08/05/2026, 11:11:59 UTC

Last enriched: 08/05/2026, 11:27:30 UTC

Last updated: 08/06/2026, 02:06:53 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses