Zen Cart findPluginAdminPage Local File Inclusion Remote Code Execution Vulnerability
The findPluginAdminPage function in Zen Cart fails to validate user-supplied data before passing it to a PHP include, allowing an unauthenticated attacker to include local files. This can be chained with other vulnerabilities to execute arbitrary code as the service account.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Zen Cart. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the findPluginAdminPage function passes user-controlled input directly to a PHP include without validating or restricting the path.
Impact
An unauthenticated attacker could execute arbitrary code in the context of the service account, but the text says this requires chaining with other vulnerabilities.
What the attacker needed
No authentication required; chaining with other vulnerabilities
The fix
Zen Cart issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A PHP include statement pulls in another file to run as code. Here the file path comes from user input without checks, so an attacker can point it at a file they control or a sensitive local file. That can lead to running their own code on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.