Description
FilePress through 3.0.1 contains an sql injection vulnerability that allows authenticated low-privilege users to inject SQL into ORDER BY clauses via the unvalidated asc parameter. Attackers can use blind boolean or time-based subqueries in dzz/pichome/library/filelist.php and dzz/collection/filelist.php to extract database rows including administrator credential hashes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zyx0814 | FilePress | ≤ 3.0.1 | — |
References
- https://hackmd.io/@hieuPenguinnn/filepress-pichome-library-orderby-sqli third-party-advisory
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/pichome/library/filelist.php#L93 technical-description
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/pichome/library/filelist.php#L594-L642 technical-description
- https://github.com/zyx0814/FilePress/blob/3.0.1/dzz/collection/filelist.php#L453-L496 technical-description
- https://github.com/zyx0814/FilePress product
- VulnCheck Advisory: FilePress through 3.0.1 SQL Injection via asc Parameter in filelist.php third-party-advisory