| 제목 | 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. AM 11:42 (1 월 ago) |
|---|
| 모더레이션 | 2026. 05. 07. PM 07:33 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 361923 [zyx0814 FilePress 까지 2.2.0 Shares Filelist API dzz/shares/admin.php order SQL 주입] |
|---|
| 포인트들 | 20 |
|---|