[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    [FD] Totaljs CMS Broken Access Control on the API call
From:       paw <riccardo.krauter () gmail ! com>
Date:       2019-08-30 17:47:33
Message-ID: 92540691-88c8-419a-80ec-b2b5bc4f8361 () gmail ! com
[Download RAW message or body]

[+] Author/Discoverer: Riccardo Krauter @CertimeterGroup

[+] Title: Totaljs CMS Broken Access Control on the API call

[+] Affected software: Totaljs CMS 12.0

[+] Description: An authenticated user with limited privileges can get 
access to resource that did not own by calling the associated API.
The CMS manage correctly the privilege only for the front-end resource 
path, but it does not the same for the API request. This lead to 
vertical and horizontal privilege escalation.

[+] Step to reproduce:

1) create a user with any privileges (e.g. "Notices").
2) log in with this user and browse to http://localhost:8000/admin/notices/
3) copy the __admin cookie that by default identify the session user
4) create a POST request in burp to the following path 
/admin/api/pages/preview/ with body {"body":"","template":"default"}
5) you will get a 200 response back that means we can successfully used 
an API call that we don't have the privilege to use.

[+] Project link: https://github.com/totaljs/cms

[+] Original report and details: 
https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf

[+] Timeline:

- 13/02/2019 -> reported the issue to the vendor

.... many ping here

- 18/06/2019 -> pinged the vendor last time

- 30/08/2019 -> reported to seclist


_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic