vendor:
ZenPhoto
by:
Anonymous
5.5
CVSS
MEDIUM
SQL Injection, Reflected XSS, Path Traversal
89,79,22
CWE
Product Name: ZenPhoto
Affected Version From: 1.4.2008
Affected Version To: 1.4.2008
Patch Exists: YES
Related CWE: N/A
CPE: a:zenphoto:zenphoto
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2015
Vulnerability in ZenPhoto
There are multiple second order error based SQL injections into the ORDER BY keyword in the admin area. The payload must first be HTML entity-encoded, and then URL encoded. An admin user can execute any function they want via this URL (there is no CSRF protection). For an admin, it is possible to view and edit any PHP or inc files, not just the ones inside the theme directory.
Mitigation:
Ensure that user input is properly sanitized and validated. Implement CSRF protection.