
Cloud Vulnerability DB
A community-led vulnerabilities database
A reflected XSS vulnerability (CVE-2024-21515) was discovered in OpenCart versions 4.0.0.0 and later. The vulnerability exists in the filename parameter of the admin tool/log route. This security issue was disclosed on June 17, 2024, and affects the OpenCart e-commerce platform (Snyk Advisory).
The vulnerability is a reflected cross-site scripting (XSS) issue that occurs in the admin tool/log route through the filename parameter. An attacker can craft a malicious URL that, when clicked, triggers the XSS payload. The vulnerability is particularly concerning as it can be used to obtain a user's token and execute automatically upon authentication. The attack requires the attacker to know the admin directory path, which is 'admin' by default (Snyk Advisory, NVD).
If successfully exploited, the vulnerability allows attackers to obtain a user's token and potentially execute arbitrary JavaScript code in the victim's browser. The impact is more severe if the attacked user has admin privileges, as it could be used as an entry point for further exploits, including Zip Slip or arbitrary file write vulnerabilities in the admin functionality (Snyk Advisory).
The vulnerability has been partially fixed by removing the redirect functionality, making it impossible for attackers to control the redirect post admin login. However, the fix is incomplete as the issue can still be exploited if the user is already authenticated as an admin. Users are advised to rename their admin directory from the default 'admin' value, as there is a dashboard warning suggesting this action (GitHub Commit, Snyk Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."