San Francisco: +1 (415) 635 3784  |  Geneva: +41 (22) 723 2424   |  
ImmuniWeb®: Login | Register
ImmuniWeb® by High-Tech Bridge

Stay in touch

Enter your email and get the latest news and researches on cybersecurity, receive invitations to private security events and conferences.

Cross-site request forgery (CSRF) in ocPortal

Advisory ID:HTB22369
Vendor:ocProducts Ltd
Vulnerable Versions:4.3.2 and probably prior
Tested Version:4.3.2
Advisory Publication:May 5, 2010 [without technical details]
Vendor Notification:May 5, 2010
Public Disclosure:May 19, 2010
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Risk Level:Medium
CVSSv2 Base Score:5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in ocPortal which could be exploited to perform CSRF attacks.

1) Cross-site request forgery (CSRF) ocPortal
The vulnerability exists due to insufficient validation of the request origin in /site/index.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and add arbitrary account to arbitrary group. Successful exploitation might result in complete compromise of the application.

Exploitation example:
<form action="http://host/site/index.php?page=groups&type=add_to&id=2" method="post" >
<input type="hidden" name="username" value="hacker" >

ImmuniWeb® On-Demand Web Application Penetration Test

Upgrade to version 7.1.6.

[1] High-Tech Bridge Advisory HTB22369 - - Cross-site request forgery (CSRF) in ocPortal
[2] ocPortal - - ocPortal is a free and open source content management system (CMS) written in PHP and based on a MySQL backend database.
[3] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments and Opinions

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.