Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify publicly accessible calculate.php endpoint
-
DeliveryCraft HTTP request with PHP payload in mathematical_sentence parameter
-
ExploitServer passes unsanitized input to eval()
-
ExecutionArbitrary PHP code executes as web server process
-
ImpactAttacker achieves remote code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The calculate.php endpoint (application/pages/imba_calculator/calculate.php) must be reachable over the network - no authentication is required per CVSS PR:N. The imba_calculator feature must be deployed and accessible (it may be part of the default application layout). No special configuration, specific platform version, or user interaction is required beyond network reachability. Exploitation is limited only by whether the calculate.php route is publicly exposed; if placed behind authentication or access controls at the web server or application layer, the attack surface is eliminated. The CVSS 4.0 AT:N (no attack requirements) confirms no additional preconditions exist. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms this is trivially reachable: no authentication, no complexity barrier, no user interaction, over the network. However, the reported impact metrics (VC:L/VI:L/VA:L) appear to understate the real-world risk of eval()-based code injection, which typically yields full server-side code execution - implying high confidentiality, integrity, and availability impact. This discrepancy is not explained by the available data and should be verified against the reporter's rationale on VulDB. The E:P (exploit public) supplemental metric confirms working exploit code exists, lowering the skill bar for attackers significantly. The vulnerability is not currently in the CISA KEV catalog, and no EPSS data was provided, limiting exploitation-frequency confidence. Given the trivial exploitation conditions, public PoC, and unpatched status with no vendor response, the real-world risk is likely higher than the CVSS 4.0 score of 6.9 suggests. The primary risk limiter is the obscurity and limited deployment footprint of stumasy itself. |
| Exploit ScenarioDerived | An attacker identifies a stumasy instance with the imba_calculator feature publicly accessible, sends a crafted HTTP request to calculate.php with a mathematical_sentence parameter containing embedded PHP code (e.g., a system() call or web shell payload), and the server's eval() function executes the injected code with the privileges of the web server process. A public proof-of-concept demonstrating this technique exists at https://github.com/mjperpinosa/stumasy/issues/5, lowering the skill requirement to near-zero. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Remote PHP code injection in stumasy's calculator module allows unauthenticated network attackers to execute arbitrary server-side code by manipulating the mathematical_sentence parameter passed unsanitized into PHP's eval() function in calculate.php. A public proof-of-concept exploit exists (GitHub issue #5), and no patch has been released - the project maintainer has not responded to the disclosure. The rolling release model means no fixed version can be cited; the vulnerability is present through at least commit 327d1b0f2915ba79d7ef8ebb74553e987609d9be.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project maintainer has not responded to the disclosure reported via GitHub issue #5 (https://github.com/mjperpinosa/stumasy/issues/5). As an immediate compensating control, restrict or disable web access to the calculate.php endpoint entirely (e.g., deny access via web server configuration rules for the path application/pages/imba_calculator/calculate.php) - trade-off is loss of the calculator feature. If the feature must remain accessible, apply a strict server-side allowlist that permits only numeric characters, standard arithmetic operators (+, -, *, /), parentheses, and decimal points in the mathematical_sentence parameter before it reaches eval(); this eliminates the injection surface but requires code modification. Replacing PHP's eval() with a safe math-parsing library (e.g., mossadal/math-parser or similar) is the correct long-term fix. Monitor VulDB entry https://vuldb.com/vuln/376338 and the GitHub repository for any upstream patch.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
stumasy (CPE: cpe:2.3:a:mjperpinosa:stumasy:*:*:*:*:*:*:*:*) is a PHP web application. The affected component is the imba_calculator feature, specifically application/pages/imba_calculator/calculate.php. The root cause is CWE-94 (Improper Control of Generation of Code - Code Injection): the function eval() is called with user-supplied input from the mathematical_sentence HTTP parameter without sufficient sanitization or allowlist validation. PHP's eval() executes arbitrary PHP code at runtime, meaning any attacker-controlled string injected here is interpreted and executed as server-side PHP. This is a textbook eval-injection pattern common in PHP applications that attempt to evaluate mathematical expressions via eval() rather than using a dedicated safe math parser library.
Know when Stumasy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible eval() injection with no authentication or complexity barriers; PHP code execution implies full confidentiality, integrity, and availability impact on the server.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was identified in mjperpinosa stumasy up to 327d1b0f2915ba79d7ef8ebb74553e987609d9be. Impacted is the function eval of the file application/pages/imba_calculator/calculate.php. The manipulation of the argument mathematical_sentence leads to code injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
SQL injection in stumasy's Notes_controller grants remote unauthenticated attackers the ability to manipulate database q
SQL injection in stumasy's notes search functionality exposes authenticated remote attackers to database manipulation vi
Unrestricted file upload in Stumasy (mjperpinosa) allows a low-privileged authenticated attacker to upload arbitrary fil
Unrestricted file upload in mjperpinosa's stumasy PHP application allows authenticated remote attackers to upload arbitr
EUVD-2026-41755
GHSA-gq7f-p38f-cwj8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB