提交 #808819: zyx0814 FilePress <=2.2.0 SQL Injection信息

标题zyx0814 FilePress <=2.2.0 SQL Injection
描述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.
来源⚠️ https://github.com/xiaohaiyang-ai/Web-Security-Research/tree/main/FilePress/Shares-API-PreAuth-SQLi
用户
 xyhackr (UID 96769)
提交2026-04-21 11時42分 (1 月前)
管理2026-05-07 19時33分 (16 days later)
状态已接受
VulDB条目361923 [zyx0814 FilePress 直到 2.2.0 Shares Filelist API dzz/shares/admin.php order SQL注入]
积分20

Do you need the next level of professionalism?

Upgrade your account now!