CWEweakness
CWE-530 Exposure of Backup File to an Unauthorized Control Sphere
- Abstraction
- Variant
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
A backup file is stored in a directory or archive that is made accessible to unauthorized actors.
Common consequences
• Confidentiality: Read Application Data — At a minimum, an attacker who retrieves this file would have all the information contained in it, whether that be database calls, the format of parameters accepted by the application, or simply information regarding the architectural structure of your site. The source code for old files that were renamed in this manner and left in the webroot can often be retrieved.
Potential mitigations
• [Policy] Recommendations include implementing a security policy within your organization that prohibits backing up web application source code in the webroot.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2024-7315: Chain: WordPress plugin does not use sufficient randomness when generating the filename for a backup (CWE-340), allowing attackers to obtain backup files (CWE-530)
Related
Observed example · CVE (1)
- CVE-2024-7315 The Migration, Backup, Staging WordPress plugin before 0.9.106 does not use sufficient randomness in the filename that is created when… vulnerability
Child of · CWE (1)
- CWE-552 Files or Directories Accessible to External Parties weakness
Referenced by CVE · weakness (13)
- CVE-2014-125136 C97net qEngine CMS through 6.0.0, Kemana Directory through 1.5.6, and Cart Engine through 3.0.0 contain an information disclosure… vulnerability
- CVE-2026-13514 A weakness has been identified in Chess Play and Learn App up to 4.9.42 on Android. vulnerability
- CVE-2024-56462 IBM QRadar 7.5.0 through 7.5.0 UP15 Interim Fix 002 could allow a privileged user to upload a malicious backup archive that could be… vulnerability
- CVE-2026-2974 A vulnerability was identified in AliasVault App up to 0.25.3 on Android/iOS. vulnerability
- CVE-2020-36899 QiHang Media Web Digital Signage 3.0.9 contains an unauthenticated file disclosure vulnerability that allows remote attackers to access… vulnerability
- CVE-2025-3773 A sensitive information exposure vulnerability in System Information Reporter (SIR) 1.0.3 and prior allows an authenticated non-admin local… vulnerability
- CVE-2024-12330 The WP Database Backup – Unlimited Database & Files Backup by Backup for WP plugin for WordPress is vulnerable to Sensitive Information… vulnerability
- CVE-2024-3430 A vulnerability was found in QKSMS up to 3.9.4 on Android. vulnerability
- CVE-2024-3124 A vulnerability classified as problematic has been found in fridgecow smartalarm 1.8.1 on Android. vulnerability
- CVE-2024-3128 ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability, which was classified as problematic, has been found in Replify-Messenger 1.0 on Android. vulnerability
- CVE-2024-2567 ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability, which was classified as problematic, was found in jurecapuder AndroidWeatherApp 1.0.0 on… vulnerability
- CVE-2024-2364 A vulnerability classified as problematic has been found in Musicshelf 1.0/1.1 on Android. vulnerability
- CVE-2023-5297 A vulnerability was found in Xinhu RockOA 2.3.2. vulnerability