Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify public MachForm v30 form with file upload
-
DeliveryCraft .phar web shell payload
-
ExploitSubmit file via unauthenticated form POST
-
InstallServer stores .phar in web-accessible uploads directory
-
C2Request uploaded .phar URL
-
ExecutePHP interpreter executes shell
-
ImpactAchieve remote code execution as web process
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 | The target server must be configured to execute .phar files through the PHP interpreter - this requires either an explicit handler mapping for .phar in the web server configuration (e.g., Apache AddHandler or nginx fastcgi_pass for .phar) or a permissive catch-all PHP handler. This is not the default in most Linux distribution web server packages and represents a non-default deployment condition, explaining the AC:H rating. The MachForm form must have a file upload field accessible to the attacker; given PR:N in the CVSS, at minimum one such form is assumed to be publicly reachable without authentication. Exploitation is limited by: (1) the requirement that .phar execution is enabled on the host - servers that deny or do not map .phar to PHP are not exploitable; (2) MachForm must be running PHP in a context where the uploads directory is web-accessible and not protected by an execution-disable directive. |
| Impact | The CVSS 3.1 score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects full confidentiality, integrity, and availability impact but assigns high attack complexity, acknowledging that successful exploitation requires the target server to execute .phar files - a non-default configuration on many hosts. EPSS is 0.26% (17th percentile), indicating low observed exploitation probability across the broader population, consistent with the niche deployment footprint of MachForm. However, a GitHub PoC (nabeelmkhan/CVE-2026-78839) and a PacketStorm write-up exist, lowering the barrier for opportunistic attackers who target MachForm deployments specifically. No CISA KEV listing is present. The realistic risk is moderate-to-high for any MachForm v30 instance where the web server passes .phar requests to the PHP interpreter - operators of such deployments should treat this as urgent. For servers that do not execute .phar files, exploitation is effectively blocked without patching. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible MachForm v30 instance whose underlying web server is configured to pass .phar requests to the PHP interpreter. The attacker submits a form with a crafted .phar file (containing a PHP web shell) through the public form submission endpoint without any authentication. After the upload succeeds, the attacker browses to the uploaded file's URL, triggering PHP execution and gaining interactive shell access on the web server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Unrestricted file upload in AppNitro MachForm v30 permits unauthenticated remote attackers to achieve code execution by uploading a crafted .phar (PHP Archive) file through the application's file upload functionality. Because the application fails to block .phar extensions alongside conventional dangerous types like .php, an attacker can cause the PHP runtime to execute attacker-supplied code upon accessing the uploaded file. A public proof-of-concept is available on GitHub and a write-up is hosted on PacketStorm Security, raising practical exploitability above the low EPSS score would suggest.
RemediationAI
No vendor-released patch has been confirmed from the available references at time of analysis - no AppNitro security advisory or fixed version number appears in the provided data. As an immediate compensating control, administrators should configure the web server (Apache/nginx) to deny direct requests to any uploaded .phar files, for example by blocking the .phar extension in the uploads directory via location or FilesMatch directives. Additionally, PHP's phar.readonly configuration directive should remain at its default (On) and the web server's PHP handler should not be mapped to .phar extensions - removing any such mapping blocks execution even if a file is successfully uploaded. File upload directories should have PHP execution disabled entirely via web server configuration, which eliminates the upload-to-execution chain regardless of file extension. The GitHub PoC (https://github.com/nabeelmkhan/CVE-2026-78839) and PacketStorm write-up provide exploitation details that defenders can use to test mitigations.
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
MachForm is a PHP-based web form builder (AppNitro) that accepts file uploads as part of form submissions. CWE-434 (Unrestricted Upload of File with Dangerous Type) describes the root cause: the application's upload filter permits .phar files, which PHP treats as executable archives when the runtime is configured with phar support enabled. The .phar bypass is a well-known evasion of filters that blocklist only .php and common variants (.php3, .phtml, etc.) while overlooking the phar wrapper. Exploitation depends on the target server having PHP configured to execute .phar files via its web server handler mapping, which is not universally the case in default installations - this accounts for the AC:H metric. The affected CPE is listed as n/a:n/a (a placeholder), but the real product is AppNitro MachForm v30.
Know when the next one hits your stack
- 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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-accessible unauthenticated upload, but AC:H because .phar execution requires non-default server handler configuration; full RCE impact on successful exploitation.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
An arbitrary file upload vulnerability in AppNitro MachForm v30 allows attackers to execute arbitrary code via uploading a crafted .phar file.
Executive ViewAI
AppNitro MachForm v30 contains an unauthenticated remote code execution vulnerability in file upload handling; publicly available exploit code exists, enabling attackers to achieve complete server compromise without credentials. Any organization using MachForm for form collection and data processing faces immediate risk of system takeover and potential data theft, with critical urgency driven by the absence of available vendor patches.
No vendor-released patch identified at time of analysis. Interim mitigations: disable file upload functionality if operationally feasible; implement strict file extension whitelist excluding .phar and all PHP-executable types (.php, .php3, .php4, .php5, .phtml, .phps); store uploads outside web-accessible directories with execute-permission denial at OS level; deploy WAF rules blocking .phar uploads by extension and MIME type; audit existing uploads for malicious payloads; monitor upload activity for exploitation attempts.
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 Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-71712
GHSA-5w46-w28q-f95g
NVD
CVE.org
EPSS
Exploit-DB