| Title | zyx0814 FilePress <=2.2.0 SQL Injection |
|---|
| Description | A critical SQL injection vulnerability was identified in the shares module of FilePress (by zyx0814). The issue affects the filelist API endpoint at /index.php?mod=shares&op=ajax&do=filelist. The vulnerability exists because the "order" GET parameter is directly concatenated into the SQL ORDER BY clause in dzz/shares/ajax.php without any whitelist validation or parameterization. An unauthenticated attacker can exploit this by first creating share records via the shareAddSubmit action (stype=3, which allows anonymous access), then injecting arbitrary SQL expressions through the order parameter. The application's built-in XSS filter can be bypassed by using the POST method with a formhash parameter in the URL. Combined with time-based blind SQL injection techniques using SLEEP/IF/MID/ASCII functions (which are not blocked by the querysafe filter), an attacker can extract arbitrary data from the database, including administrator credentials. No authentication is required to exploit this vulnerability. |
|---|
| Source | ⚠️ https://github.com/xiaohaiyang-ai/Web-Security-Research/tree/main/FilePress/Shares-API-PreAuth-SQLi |
|---|
| User | xyhackr (UID 96769) |
|---|
| Submission | 04/21/2026 11:42 (3 months ago) |
|---|
| Moderation | 05/07/2026 19:33 (16 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 361923 [zyx0814 FilePress up to 2.2.0 Shares Filelist API dzz/shares/admin.php order sql injection] |
|---|
| Points | 20 |
|---|