{"id":23003,"date":"2025-04-14T03:05:42","date_gmt":"2025-04-14T03:05:42","guid":{"rendered":""},"modified":"2025-09-10T23:38:12","modified_gmt":"2025-09-11T05:38:12","slug":"cve-2023-5504-directory-traversal-vulnerability-in-backwpup-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-5504-directory-traversal-vulnerability-in-backwpup-wordpress-plugin\/","title":{"rendered":"<strong>CVE-2023-5504: Directory Traversal Vulnerability in BackWPup WordPress Plugin<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The BackWPup WordPress plugin is a popular tool among website administrators for backing up their WordPress sites. However, a severe vulnerability has been discovered in versions up to and including 4.0.1. This vulnerability, identified as CVE-2023-5504, allows authenticated attackers to conduct <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-48243-critical-remote-code-execution-vulnerability-allowing-unauthorized-file-upload\/\"  data-wpil-monitor-id=\"34135\">Directory<\/a> Traversal by manipulating the Log File Folder. The implications of this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2945-unveiling-the-system-access-vulnerability-in-network-security-protocols\/\"  data-wpil-monitor-id=\"26891\">vulnerability are significant &#8211; it can potentially lead to system<\/a> compromise or data leakage, especially in shared hosting environments. Therefore, it is essential for administrators and security teams to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-51063-understanding-and-mitigating-a-dom-based-xss-vulnerability-in-qstar-archive-solutions\/\"  data-wpil-monitor-id=\"27039\">understand and mitigate this vulnerability<\/a> promptly.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-5504<br \/>\nSeverity: High (8.7)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-33114-npu-memory-corruption-leading-to-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"31867\">System compromise or data<\/a> leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3409728745\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>BackWPup <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-3211-unauthenticated-sql-injection-vulnerability-in-wordpress-database-administrator-plugin\/\"  data-wpil-monitor-id=\"29979\">WordPress Plugin<\/a> | Up to and including 4.0.1<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit takes advantage of a Directory Traversal <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-6735-privilege-escalation-vulnerability-in-checkmks-mk_tsm-agent-plugin\/\"  data-wpil-monitor-id=\"26890\">vulnerability in the BackWPup plugin<\/a>. An authenticated attacker can manipulate the Log File Folder setting, causing the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2780-critical-arbitrary-file-upload-vulnerability-in-woffice-core-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"27352\">plugin to store backups in arbitrary<\/a> folders on the server that can be written to by the server. An <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2021-27289-replay-attack-vulnerability-uncovered-in-zigbee-smart-home-kit\/\"  data-wpil-monitor-id=\"35554\">attacker could use this vulnerability<\/a> to place the backup directory to the root of another site in a shared environment, effectively disabling that site.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1230952374\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here is a conceptual example of how an <a href=\"https:\/\/www.ameeba.com\/blog\/unmasking-tcesb-malware-a-deep-analysis-of-active-attacks-exploiting-eset-security-scanner\/\"  data-wpil-monitor-id=\"26892\">attacker might exploit<\/a> this vulnerability. This is a sample HTTP request to change the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3831-unauthorized-access-to-log-files-through-harmony-sase-agent\/\"  data-wpil-monitor-id=\"81621\">Log File<\/a> Folder setting:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/wp-admin\/admin.php?page=backwpup HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/x-www-form-urlencoded\naction=edit&amp;logfolder=..\/..\/..\/..\/other_site_root<\/code><\/pre>\n<p><strong>Mitigation and Prevention<\/strong><\/p>\n<p>The most straightforward <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43971-critical-vulnerability-in-gobgp-paving-the-way-for-system-compromise\/\"  data-wpil-monitor-id=\"40146\">way to mitigate this vulnerability<\/a> is by applying the vendor patch. BackWPup has released a newer version of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2941-arbitrary-file-moving-vulnerability-in-woocommerce-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"28960\">plugin that addresses this vulnerability<\/a>. <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2775-unauthenticated-xxe-vulnerability-in-sysaid-on-prem-versions-leading-to-administrator-account-takeover\/\"  data-wpil-monitor-id=\"43840\">Administrators should ensure they are running the latest version<\/a> of the plugin.<br \/>\nAs a temporary mitigation, administrators can use a Web Application Firewall (WAF) or an Intrusion Detection System (IDS). These <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0572-critical-vulnerability-in-totolink-lr1200gb-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"29008\">systems can detect and block attempts to exploit this vulnerability<\/a>. However, these are only temporary solutions and should not replace the application of the vendor patch.<br \/>\nRemember, staying up-to-date with patches and updates is a fundamental part of maintaining a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32953-security-vulnerability-in-z80pack-emulator-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"40455\">secure system<\/a>. Regularly monitoring for new <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-21673-high-impact-remote-code-execution-vulnerability-in-confluence-data-center-and-server\/\"  data-wpil-monitor-id=\"28879\">vulnerabilities and understanding their potential impact<\/a> is also crucial in the ever-evolving field of cybersecurity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The BackWPup WordPress plugin is a popular tool among website administrators for backing up their WordPress sites. However, a severe vulnerability has been discovered in versions up to and including 4.0.1. This vulnerability, identified as CVE-2023-5504, allows authenticated attackers to conduct Directory Traversal by manipulating the Log File Folder. The implications of this vulnerability [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[85],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-23003","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-directory-traversal"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=23003"}],"version-history":[{"count":15,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23003\/revisions"}],"predecessor-version":[{"id":74063,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/23003\/revisions\/74063"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=23003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=23003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=23003"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=23003"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=23003"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=23003"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=23003"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=23003"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=23003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}