Arbitrary File Creation Vulnerability in OpenCart 4.0.0.0
CVE-2024-21519
7.2HIGH
Summary
The vulnerability in OpenCart arises from an arbitrary file creation issue associated with the database restoration functionality. An attacker, possessing admin privileges, can exploit this flaw by injecting PHP code into the database. This enables the creation of a backup file with a custom filename and extension within the /system/storage/backup directory. Although the design of the application typically keeps the storage path outside the web root to enhance security, this vulnerability could still pose significant risks if the application’s configuration is not adequately managed.
Affected Version(s)
opencart/opencart 4.0.0.0
References
CVSS V3.1
Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Calum Hutton