Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to Shares API endpoint
-
DeliveryInject SQL syntax in order parameter
-
ExploitBypass insufficient trim() validation
-
ExecutionExecute arbitrary SQL query
-
ImpactExtract or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Shares API endpoint must be accessible to the attacker (typically via internet if the FilePress instance is publicly exposed). No authentication is required; the vulnerability is pre-authentication. The exploitation requires the 'order' GET parameter to be passed to dzz/shares/admin.php or dzz/shares/ajax.php. No special configuration is needed - the vulnerable code path is present in default installations of FilePress up to version 2.2.0. The vulnerability is limited by: (1) database permissions (attacker can only query tables accessible to the database user), (2) character encoding restrictions in some SQL databases that may filter injected payloads, and (3) the scope of data accessible via the Filelist API response (blind SQL injection or time-based extraction may be required if results are not directly visible). |
| Impact | CVSS 5.5 (Medium) with AV:N/AC:L/PR:N/UI:N indicates remote unauthenticated exploitation against default configurations with low attack complexity. The CVSS vector shows limited confidentiality, integrity, and availability impact (VC:L/VI:L/VA:L), suggesting data exfiltration or minor data modification rather than complete system compromise. However, the exploitation probability (E:P) is high, and publicly available exploit code confirms practical exploitability. The SQLi nature (CWE-89) typically enables credential theft, authentication bypass, or lateral movement depending on database permissions. Real-world risk is MEDIUM-TO-HIGH despite the moderate CVSS score because: (1) unauthenticated remote access requires no privileges; (2) public exploits lower the bar for attackers; (3) PHP-based web applications often run with database credentials embedded in code; (4) the whitelist-based patch suggests the underlying issue was severe enough to warrant explicit validation. Organizations running FilePress 2.2.0 or earlier with internet-exposed Shares API endpoints face significant data breach risk. The patch availability mitigates exploitation risk for patched instances, but unpatched legacy deployments remain critical. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to the Shares Filelist API endpoint (e.g., dzz/shares/admin.php or dzz/shares/ajax.php) with a malicious SQL injection payload in the 'order' GET parameter, such as 'order=desc UNION SELECT user,password FROM admin_users--'. Because the vulnerable code only trims whitespace without validating the parameter value, the payload is directly concatenated into the SQL ORDER BY clause, allowing the attacker to extract sensitive data from the database. Publicly available exploit code from https://github.com/xiaohaiyang-ai/Web-Security-Research/ demonstrates this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
SQL injection in FilePress up to version 2.2.0 allows unauthenticated remote attackers to manipulate the order parameter in the Shares Filelist API (dzz/shares/admin.php and dzz/shares/ajax.php) to execute arbitrary SQL queries. The vulnerability exploits insufficient input validation on the order parameter, enabling data exfiltration or manipulation. Publicly available exploit code exists, and a vendor patch has been released.
RemediationAI
Apply the vendor-released patch immediately by upgrading to the version containing commit e20ec58414103f781858f2951d178e19b1736664 or later (patch PR #71 at https://github.com/zyx0814/FilePress/pull/71). The patch implements input validation by converting the order parameter to lowercase and enforcing a whitelist of permitted values ('asc', 'desc'). If an immediate upgrade is not feasible, implement network-level compensating controls: restrict access to the dzz/shares/admin.php and dzz/shares/ajax.php endpoints to trusted IP ranges only (e.g., via reverse proxy rules), disable the Shares API feature if not actively used, or deploy a Web Application Firewall (WAF) rule to block requests with suspicious order parameter values (e.g., containing SQL keywords like UNION, SELECT, CASE). Note that WAF rules may generate false positives if legitimate sorting operations use unexpected case variations; prioritize the vendor patch over WAF mitigation. Monitor web server logs for exploitation attempts targeting the Shares API endpoints.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FilePress is a PHP-based file-sharing application. The vulnerability exists in the Shares Filelist API components (dzz/shares/admin.php and dzz/shares/ajax.php), where user-supplied input from the GET parameter 'order' is passed directly into SQL queries without proper validation. The root cause (CWE-89: SQL Injection) stems from accepting unsanitized user input that controls SQL ORDER BY clause construction. The patch implements a whitelist approach by converting the order parameter to lowercase, then validating it against an explicit array of permitted values ('asc' and 'desc'), replacing the previous approach that only used trim() without validation. This is a classic SQL injection vector where an attacker manipulates query syntax by injecting SQL commands through a parameter intended for legitimate sorting operations.
Know when Filepress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security vulnerability has been detected in zyx0814 FilePress up to 2.2.0. Affected by this vulnerability is an unknown functionality of the file dzz/shares/admin.php of the component Shares Filelist API. Such manipulation of the argument order leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. The name of the patch is e20ec58414103f781858f2951d178e19b1736664. A patch should be applied to remediate this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
SQL injection in zyx0814 FilePress up to version 3.0.1 allows remote unauthenticated attackers to manipulate database qu
Authenticated SQL injection (CWE-89) in FilePress through version 3.0.1 lets any low-privilege logged-in user inject arb
Authenticated FilePress users can delete, rename or read folders belonging to other libraries in versions through 3.0.1,
EUVD-2026-28522
GHSA-pxqj-577f-7xfv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB