Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege stumasy account
-
DeliveryAuthenticate and access add_post.php upload endpoint
-
ExploitSubmit crafted multipart POST with PHP web shell as up_file_to_post
-
ExecutionServer stores file without type validation
-
PersistRequest uploaded shell URL in browser
-
ImpactExecute arbitrary OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a low-privilege authenticated session on the stumasy application, as confirmed by PR:L in the CVSS vector - unauthenticated exploitation is not supported by the available data. The vulnerable code path is specifically the add_post.php file upload handler (application/PHP/objects/updates/add_post.php) and the up_file_to_post argument must be manipulable by the authenticated user, implying the post-creation feature must be accessible to that user role. Full code execution impact is conditional on uploaded files being stored in a web-accessible directory with PHP script execution enabled on the server; if uploads are stored outside the web root, the upload still succeeds but web shell execution is blocked. Attack complexity is Low (AC:L), meaning no race conditions or special timing are required. |
| Impact | The CVSS base score of 6.3 (Medium) reflects a nuanced risk profile: AV:N/AC:L confirms network-reachability with low attack complexity, but PR:L limits exploitation to users with at least some level of authenticated access, which is a meaningful constraint. The temporal modifiers E:P (proof-of-concept exploit exists) and RC:R (reasonable but not fully confirmed) reduce certainty slightly. This is NOT a low-risk issue despite the medium score - CWE-434 in PHP web applications characteristically enables full server compromise via web shell, meaning the C:L/I:L/A:L base impact ratings may underrepresent real-world impact if uploaded files are web-accessible. No CISA KEV listing exists, indicating no confirmed mass exploitation at time of analysis. However, the public POC via GitHub issue lowers the barrier for opportunistic attackers significantly. The key limiting factor is the PR:L authentication requirement, making this a moderate-to-high priority for any internet-facing stumasy deployment with untrusted authenticated users (e.g., multi-tenant or self-registration-enabled environments). |
| Exploit ScenarioDerived | An attacker with a low-privilege account on an internet-facing stumasy instance sends a crafted multipart HTTP POST request to application/PHP/objects/updates/add_post.php, supplying a PHP web shell (e.g., a file containing <?php system($_GET['cmd']); ?>) as the up_file_to_post parameter value. Because the application performs no server-side validation of the uploaded file type, the shell is stored on the server. A publicly available proof-of-concept demonstrates this technique via the GitHub issue at https://github.com/mjperpinosa/stumasy/issues/1. If the uploaded file lands in a web-accessible directory with PHP execution enabled, the attacker can subsequently request the shell URL to execute arbitrary OS commands under the web server's process identity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Unrestricted file upload in mjperpinosa's stumasy PHP application allows authenticated remote attackers to upload arbitrary and potentially dangerous file types via the up_file_to_post parameter in add_post.php, enabling likely remote code execution through web shell deployment. The CVSS vector (AV:N/AC:L/PR:L/UI:N) confirms network-reachable exploitation requiring only low-privilege authentication with no user interaction. A publicly available proof-of-concept exploit exists (disclosed via GitHub issue), and the vendor has not responded to the responsible disclosure - no patch is available at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project maintainer has not responded to the disclosure filed at https://github.com/mjperpinosa/stumasy/issues/1. As an immediate compensating control, administrators should disable or restrict access to add_post.php via web server configuration (e.g., deny access at the nginx/Apache level to application/PHP/objects/updates/add_post.php), which prevents exploitation entirely but disables the associated post-creation functionality. If the upload feature must remain available, implement server-side file type validation by whitelisting permitted MIME types and extensions (e.g., only image types), and ensure uploaded files are stored outside the web root or in a directory with PHP execution disabled - preventing web shell execution even if a malicious file is uploaded. Restrict the upload endpoint to only the minimum required user roles. Monitor VulDB entry https://vuldb.com/vuln/368254 and the GitHub repository for any upstream patch commits.
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
The vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), a well-understood PHP application weakness where server-side code fails to validate the content type, extension, or MIME type of user-supplied file uploads. The affected code path is application/PHP/objects/updates/add_post.php, specifically the up_file_to_post argument, which processes file uploads without enforcing restrictions. In PHP applications, this class of vulnerability is severe because successfully uploading a .php file to a web-accessible directory allows direct server-side code execution. The CPE cpe:2.3:a:mjperpinosa:stumasy:*:*:*:*:*:*:*:* confirms the wildcard covers all versions of the stumasy application. The project uses a rolling release model, meaning there are no discrete version identifiers to reference for affected-vs-patched determination.
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in mjperpinosa stumasy. The affected element is an unknown function of the file application/PHP/objects/updates/add_post.php. Performing a manipulation of the argument up_file_to_post results in unrestricted upload. The attack may be initiated remotely. The exploit has been made public and could be used. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. 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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote PHP code injection in stumasy's calculator module allows unauthenticated network attackers to execute arbitrary s
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
EUVD-2026-34252
GHSA-fpp3-9qqr-4xxm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB